aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbdd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbdd.c b/sbdd.c
index 7d4a64e..2b575b4 100644
--- a/sbdd.c
+++ b/sbdd.c
@@ -105,6 +105,7 @@ static void sbdd_xfer_bio(struct bio *bio)
}
bio_set_dev(bio_clone, __sbdd.bdev);
+ bio_clone->bi_opf |= REQ_PREFLUSH | REQ_FUA;
bio_clone->bi_private = io_bio;
bio_clone->bi_end_io = io_end_bio;