Commit bdec47f5 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Journal writes should be REQ_SYNC|REQ_META

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a4e92339
......@@ -1991,7 +1991,7 @@ CLOSURE_CALLBACK(bch2_journal_write)
bio = ca->journal.bio;
bio_reset(bio, ca->disk_sb.bdev,
REQ_OP_WRITE|REQ_PREFLUSH);
REQ_OP_WRITE|REQ_SYNC|REQ_META|REQ_PREFLUSH);
bio->bi_end_io = journal_write_endio;
bio->bi_private = ca;
closure_bio_submit(bio, cl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment