]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: adjust free mem size to flush dentry blocks
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 16 Apr 2014 01:47:06 +0000 (10:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2014 23:23:19 +0000 (16:23 -0700)
commit43efa53d4ece1bee219320ce8451a5a211188375
tree3d069806245d729844b3bf4c7ce124ccb5fe26b1
parent3fa0637a2a027db4a0d31314b0e9e6bd5526bb17
f2fs: adjust free mem size to flush dentry blocks

commit 6fb03f3a40805a412c9b285010ffdc2e7563f81b upstream.

If so many dirty dentry blocks are cached, not reached to the flush condition,
we should fall into livelock in balance_dirty_pages.
So, let's consider the mem size for the condition.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h