]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: shrink free_nids entries
authorChao Yu <chao2.yu@samsung.com>
Tue, 28 Jul 2015 10:33:46 +0000 (18:33 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 20 Aug 2015 16:00:06 +0000 (09:00 -0700)
commit31696580bf4c042a0f7b06d855e04441488d18b1
tree33904342d5332881fc6ffc925dbcb294c8ed87e4
parent206e61be29624499af46546076e835da93e6bde5
f2fs: shrink free_nids entries

This patch introduces __count_free_nids/try_to_free_nids and registers
them in slab shrinker for shrinking under memory pressure.

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