f2fs: detect synchronous writeback more earlier
authorChao Yu <yuchao0@huawei.com>
Wed, 23 May 2018 14:25:09 +0000 (22:25 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 Jul 2018 00:40:58 +0000 (17:40 -0700)
commit1f315091b862dad8dfae80a43e7d51a9461f6b9c
tree9da56f9ba45e5e4e8792a027a243f477538e669b
parentc806c4187a0ba67bffe87251a038ac95801fe1f1
f2fs: detect synchronous writeback more earlier

This patch changes to detect synchronous writeback more earlier before,
in order to avoid unnecessary page writeback before exiting asynchronous
writeback.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c