]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: skip writing in ->writepages when no dirty pages exist
authorChao Yu <chao2.yu@samsung.com>
Fri, 17 Jul 2015 10:02:39 +0000 (18:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Aug 2015 15:08:11 +0000 (08:08 -0700)
commit6a2905443cf27f9c14889428f14fccfb98ed97f4
tree557f15b7959b6ce92909be31693201d20f7c3d3c
parent737f18992ee81cab897336e84c5c7f4e179dfd61
f2fs: skip writing in ->writepages when no dirty pages exist

When flushing comes from background, if there is no dirty page in the
mapping of inode, we'd better to skip seeking dirty page from mapping
for writebacking.

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