about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorAtemu <atemu.main@gmail.com>2023-09-17 15:19:23 +0200
committerAtemu <atemu.main@gmail.com>2023-09-17 15:39:04 +0200
commit45c01771fb4644601bb21b5da82856500e468a3f (patch)
tree450d12d0d105c72dff25758f39e63ad3ab92c88c /pkgs/os-specific/linux/kernel/common-config.nix
parent1400b6e9ece28ae97362f85188362b942e70dc32 (diff)
linux/common-config: enable FSCACHE_STATS
Exposes /proc/fs/fscache/stats that shows some handy stats about fs caching. Can
be useful for debugging, so why not.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index c8ae911c12872..951cc3b9f08ad 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -903,6 +903,8 @@ let
       CLEANCACHE = whenOlder "5.17" (option yes);
       CRASH_DUMP = option no;
 
+      FSCACHE_STATS = yes;
+
       DVB_DYNAMIC_MINORS = option yes; # we use udev
 
       EFI_STUB            = yes; # EFI bootloader in the bzImage itself