Skip to content

Commit

Permalink
Submit flush as a WRITE bio
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
  • Loading branch information
robertbaldyga committed Oct 7, 2024
1 parent 08c7a71 commit 8f41ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cas_cache/volume/vol_block_dev_bottom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}

Expand Down

0 comments on commit 8f41ce7

Please sign in to comment.