f2fs: adjust free mem size to flush dentry blocks

commit 6fb03f3a40 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>
This commit is contained in:
Jaegeuk Kim 2014-04-16 10:47:06 +09:00 • committed by Greg Kroah-Hartman
commit 43efa53d4e
4 changed files with 32 additions and 21 deletions