Commit 2aea39ec authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarMarc Dietrich <>
Signed-off-by: default avatarJaegeuk Kim <>
parent 916decbf
......@@ -833,6 +833,8 @@ static int f2fs_write_data_page(struct page *page,
if (need_balance_fs)
if (wbc->for_reclaim)
f2fs_submit_merged_bio(sbi, DATA, WRITE);
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment