diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-04-23 20:49:52 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2014-05-06 21:21:56 -0400 |
commit | 2aea39eca6b68d6ae7eb545332df0695f56a3d3f (patch) | |
tree | 61a3c306e19794cfd955a5def1a0f8131895918f | |
parent | 916decbf3913ccdc68f0228e001a6d270cf5682e (diff) |
f2fs: submit bio at the reclaim path
If f2fs_write_data_page is called through the reclaim path, we should submit
the bio right away.
This patch resolves the following issue that Marc Dietrich reported.
"It took me a while to bisect a problem which causes my ARM (tegra2) netbook to
frequently stall for 5-10 seconds when I enable EXA acceleration (opentegra
experimental ddx)."
And this patch fixes that.
Reported-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 150c12ace4af..0147de7e3973 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
@@ -833,6 +833,8 @@ out: | |||
833 | unlock_page(page); | 833 | unlock_page(page); |
834 | if (need_balance_fs) | 834 | if (need_balance_fs) |
835 | f2fs_balance_fs(sbi); | 835 | f2fs_balance_fs(sbi); |
836 | if (wbc->for_reclaim) | ||
837 | f2fs_submit_merged_bio(sbi, DATA, WRITE); | ||
836 | return 0; | 838 | return 0; |
837 | 839 | ||
838 | redirty_out: | 840 | redirty_out: |