f2fs: add REQ_META about metadata requests for submit
[deliverable/linux.git] / fs / f2fs / segment.c
index 0a652848a9f8e5844c5c29c586aa036fb03b767a..392ccb3d10b91fc0635852ed47ac4427623957b8 100644 (file)
@@ -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;
This page took 0.026663 seconds and 5 git commands to generate.