diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-31 11:25:46 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-10 15:34:08 -0400 |
commit | bdec47f57f26248a6fba67803c2ee44484534735 (patch) | |
tree | d1870ccc54a69979dfa2cc027de32c17d2520f82 /fs/bcachefs/journal_io.c | |
parent | a4e92339115d10f07fac051454616dbe6dbd47f5 (diff) |
bcachefs: Journal writes should be REQ_SYNC|REQ_META
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/journal_io.c')
-rw-r--r-- | fs/bcachefs/journal_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index 5dcb4f4ceae7..8047425e84c3 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -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); |