Submit flush as a WRITE bio

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
Robert Baldyga 2024-10-07 13:42:34 +02:00
parent 08c7a71863
commit 8f41ce7ad8

View File

@ -275,7 +275,7 @@ static void block_dev_forward_flush(ocf_volume_t volume,
bio->bi_private = (void *)token; bio->bi_private = (void *)token;
bio->bi_end_io = CAS_REFER_BLOCK_CALLBACK(cas_bd_forward_end); 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);
} }