add support for drop_caches for individual filesystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vfs: introduce shrink_icache_sb() helperfs/ fs/ | +18 | 1 reply | |
| 2/3 | sysctl: add support for drop_caches for individual filesystemfs/ include/ kernel/ | +54 | 8 replies | |
| 3/3 | Documentation: add instructions for using 'drop_fs_caches sysctl' sysctlDocumentation/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] add support for drop_caches for individual filesystem
From: Ye Bin <[email protected]>
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(+)
Signature · 1 line
2.31.1