diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 0a652848a9f8e5844c5c29c586aa036fb03b767a..392ccb3d10b91fc0635852ed47ac4427623957b8 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -688,6 +688,9 @@ static void do_submit_bio(struct f2fs_sb_info *sbi, if (type >= META_FLUSH) rw = WRITE_FLUSH_FUA; + if (btype == META) + rw |= REQ_META; + if (sbi->bio[btype]) { struct bio_private *p = sbi->bio[btype]->bi_private; p->sbi = sbi;