diff --git a/modules/cas_cache/volume/vol_block_dev_bottom.c b/modules/cas_cache/volume/vol_block_dev_bottom.c index 6b6b3cc3f..ef84e1dda 100644 --- a/modules/cas_cache/volume/vol_block_dev_bottom.c +++ b/modules/cas_cache/volume/vol_block_dev_bottom.c @@ -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); }