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)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:55 +0000 (10:21 +0900)
commit6fb03f3a40805a412c9b285010ffdc2e7563f81b
tree05698049e0f21bc265952aaa75a708ea006ca56a
parente8271fa3908de52937d298b339f9f7984c491cc6
f2fs: adjust free mem size to flush dentry blocks

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>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/node.h