]> git.pld-linux.org Git - packages/kernel.git/blobdiff - xfs-reclaim-hack.patch
- up to 5.6.3
[packages/kernel.git] / xfs-reclaim-hack.patch
index a76a791190f2e24fa80da4d0248b0ab1d7d1dc01..c0db7b221d19e4480622cd9fc54cb022701854b2 100644 (file)
@@ -10,18 +10,6 @@ considerably, especially in high page cache and slow disk environment.
 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
@@ -150,15 +138,4 @@ index 82afee005140a..eaf3addd486e7 100644
  };
  
  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" },
-       {}
- };
+
This page took 0.028271 seconds and 4 git commands to generate.