]> Pileus Git - ~andy/linux/blobdiff - fs/f2fs/data.c
f2fs: avoid f2fs_balance_fs call during pageout
[~andy/linux] / fs / f2fs / data.c
index 19ad0669447876afc5cdadc5bee82dd9a05a3952..e57bde02e37f662fc37253a82d07617d41fd6e7a 100644 (file)
@@ -842,8 +842,10 @@ write:
        else if (err)
                goto redirty_out;
 
-       if (wbc->for_reclaim)
+       if (wbc->for_reclaim) {
                f2fs_submit_merged_bio(sbi, DATA, WRITE);
+               need_balance_fs = false;
+       }
 
        clear_cold_data(page);
 out: