From 8f41ce7ad82305c4d74c5199e05951b0505b1af5 Mon Sep 17 00:00:00 2001 From: Robert Baldyga Date: Mon, 7 Oct 2024 13:42:34 +0200 Subject: [PATCH] Submit flush as a WRITE bio Signed-off-by: Robert Baldyga --- modules/cas_cache/volume/vol_block_dev_bottom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }