OSDN Git Service

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:46:36 +0000 (17:46 -0700)
commited74404955cd8eeaa41ff1aa57a5af6f8e6f62a8
tree30ee89e54857c34660b5ea70634454b9580b1760
parent91e7d9d2ddbfda40393c8400e3d0b4852ea3c6d0
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