linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] add support for drop_caches for individual filesystem
@ 2024-10-10 11:25 Ye Bin
  2024-10-10 11:25 ` [PATCH 1/3] vfs: introduce shrink_icache_sb() helper Ye Bin
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Ye Bin @ 2024-10-10 11:25 UTC (permalink / raw)
  To: viro, brauner, jack, linux-fsdevel; +Cc: linux-kernel, yebin10, zhangxiaoxu5

From: Ye Bin <yebin10@huawei.com>

In order to better analyze the issue of file system uninstallation caused
by kernel module opening files, it is necessary to perform dentry recycling
on a single file system. But now, apart from global dentry recycling, it is
not supported to do dentry recycling on a single file system separately.
This feature has usage scenarios in problem localization scenarios.At the
same time, it also provides users with a slightly fine-grained
pagecache/entry recycling mechanism.
This patchset supports the recycling of pagecache/entry for individual file
systems.

Ye Bin (3):
  vfs: introduce shrink_icache_sb() helper
  sysctl: add support for drop_caches for individual filesystem
  Documentation: add instructions for using 'drop_fs_caches sysctl'
    sysctl

 Documentation/admin-guide/sysctl/vm.rst | 27 ++++++++++++++++
 fs/drop_caches.c                        | 43 +++++++++++++++++++++++++
 fs/inode.c                              | 17 ++++++++++
 fs/internal.h                           |  1 +
 include/linux/mm.h                      |  2 ++
 kernel/sysctl.c                         |  9 ++++++
 6 files changed, 99 insertions(+)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-10-14 11:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-10 11:25 [PATCH 0/3] add support for drop_caches for individual filesystem Ye Bin
2024-10-10 11:25 ` [PATCH 1/3] vfs: introduce shrink_icache_sb() helper Ye Bin
2024-10-10 12:07   ` Jan Kara
2024-10-10 11:25 ` [PATCH 2/3] sysctl: add support for drop_caches for individual filesystem Ye Bin
2024-10-10 12:16   ` Jan Kara
2024-10-10 12:44     ` yebin (H)
2024-10-10 13:35     ` Benjamin Coddington
2024-10-10 17:04       ` Jan Kara
2024-10-11 11:44         ` Amir Goldstein
2024-10-14 11:24           ` Jan Kara
2024-10-10 13:48   ` Thomas Weißschuh
2024-10-10 17:17   ` Al Viro
2024-10-10 11:25 ` [PATCH 3/3] Documentation: add instructions for using 'drop_fs_caches sysctl' sysctl Ye Bin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).