f2fs: count dirty inodes to flush node pages during checkpoint
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 14 Oct 2016 20:28:05 +0000 (13:28 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 23 Nov 2016 20:11:04 +0000 (12:11 -0800)
commitb9610bdfcbdbb6017802ec6d1e073f445c98157d
tree57f282c696f98558c9f5591939bdfadbc791c191
parent02110a4fd53164db7cce3bb2780dce4d6c4e058f
f2fs: count dirty inodes to flush node pages during checkpoint

If there are a lot of dirty inodes, we need to flush all of them when doing
checkpoint. So, we need to count this for enough free space.

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