Submit flush as a WRITE bio
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
parent
08c7a71863
commit
8f41ce7ad8
@ -275,7 +275,7 @@ static void block_dev_forward_flush(ocf_volume_t volume,
|
||||
bio->bi_private = (void *)token;
|
||||
bio->bi_end_io = CAS_REFER_BLOCK_CALLBACK(cas_bd_forward_end);
|
||||
|
||||
cas_submit_bio(CAS_SET_FLUSH(0), bio);
|
||||
cas_submit_bio(CAS_SET_FLUSH(WRITE), bio);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user