mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
2658e50de6
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>
12 lines
438 B
Makefile
12 lines
438 B
Makefile
obj-$(CONFIG_F2FS_FS) += f2fs.o
|
|
|
|
f2fs-y := dir.o file.o inode.o namei.o hash.o super.o inline.o
|
|
f2fs-y += checkpoint.o gc.o data.o node.o segment.o recovery.o
|
|
f2fs-y += shrinker.o
|
|
f2fs-$(CONFIG_F2FS_STAT_FS) += debug.o
|
|
f2fs-$(CONFIG_F2FS_FS_XATTR) += xattr.o
|
|
f2fs-$(CONFIG_F2FS_FS_POSIX_ACL) += acl.o
|
|
f2fs-$(CONFIG_F2FS_IO_TRACE) += trace.o
|
|
f2fs-$(CONFIG_F2FS_FS_ENCRYPTION) += crypto_policy.o crypto.o \
|
|
crypto_key.o crypto_fname.o
|