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>
Thu, 31 May 2018 18:31:50 +0000 (11:31 -0700)
commitf8de4331224513271a99dce967e637cf14f4bc28
tree0ef5fa58946a199ff9dbf6f053e3bc4c4fa225b1
parent7b525dd01365c6764018e374d391c92466be1b7a
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