summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorJaegeuk Kim2015-06-19 21:01:21 +0200
committerJaegeuk Kim2015-08-04 23:09:54 +0200
commit2658e50de61429f57d9496bfe371f232e2d039a1 (patch)
tree741bcc6a3c0df01f3180eb6cb934019313959ca4 /fs/f2fs/node.c
parentf2fs: set cached_en after checking finally (diff)
downloadkernel-qcow2-linux-2658e50de61429f57d9496bfe371f232e2d039a1.tar.gz
kernel-qcow2-linux-2658e50de61429f57d9496bfe371f232e2d039a1.tar.xz
kernel-qcow2-linux-2658e50de61429f57d9496bfe371f232e2d039a1.zip
f2fs: introduce a shrinker for mounted fs
This patch introduces a shrinker targeting to reduce memory footprint consumed by a number of in-memory f2fs data structures. In addition, it newly adds: - sbi->umount_mutex to avoid data races on shrinker and put_super - sbi->shruinker_run_no to not revisit objects Note that the basic implementation was copied from fs/ubifs/shrinker.c Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions