f2fs: submit bio at the reclaim path
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 24 Apr 2014 00:49:52 +0000 (09:49 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:56 +0000 (10:21 +0900)
commit2aea39eca6b68d6ae7eb545332df0695f56a3d3f
tree61a3c306e19794cfd955a5def1a0f8131895918f
parent916decbf3913ccdc68f0228e001a6d270cf5682e
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>
fs/f2fs/data.c