This sysctl allows to exclude XFS from kswapd and direct reclaim.
See: https://marc.info/?t=154345187200003
----
- Documentation/filesystems/xfs.txt | 6 ++++++
- fs/xfs/xfs_globals.c | 1 +
- fs/xfs/xfs_icache.c | 6 +++++-
- fs/xfs/xfs_icache.h | 6 ++++++
- fs/xfs/xfs_linux.h | 1 +
- fs/xfs/xfs_super.c | 3 +++
- fs/xfs/xfs_sysctl.c | 9 +++++++++
- fs/xfs/xfs_sysctl.h | 2 ++
- kernel/sysctl_binary.c | 1 +
- 9 files changed, 34 insertions(+), 1 deletion(-)
-
diff --git a/Documentation/admin-guide/xfs.rst b/Documentation/admin-guide/xfs.rst
index 3b9b5c149f322..b33a4822f879c 100644
--- a/Documentation/admin-guide/xfs.rst
};
extern xfs_param_t xfs_params;
-diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c
-index e8c0dab4fd653..ec2f2c52e3ab5 100644
---- a/kernel/sysctl_binary.c
-+++ b/kernel/sysctl_binary.c
-@@ -778,6 +778,7 @@ static const struct bin_table bin_fs_xfs_table[] = {
- { CTL_INT, XFS_INHERIT_NODFRG, "inherit_nodefrag" },
- { CTL_INT, XFS_FILESTREAM_TIMER, "filestream_centisecs" },
- { CTL_INT, XFS_STATS_CLEAR, "stats_clear" },
-+ { CTL_INT, XFS_MEMORY_RECLAIM, "memory_reclaim" },
- {}
- };
-
+