about summary refs log tree commit diff
diff options
context:
space:
mode:
authorzzzsyyy <me@zzzsy.top>2024-04-24 20:08:10 +0800
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-02 18:01:01 +0000
commite6c94a6176c42a62a4b226f36d9a2c65db285965 (patch)
tree714876f00c53d3065787a500cf298ed0a8671477
parent14e0588ea26ebcce5b7ce67aa59f9d031f7e96b3 (diff)
xanmod-kernels: disable writeback throttling by default
follows the commit https://gitlab.com/xanmod/linux/-/commit/b5ad63a6135deb8498ef4476a0a257600ffceafd

(cherry picked from commit ddf4c3d5dce50403692407e39aa863545c8d930c)
-rw-r--r--pkgs/os-specific/linux/kernel/xanmod-kernels.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
index 0666ecf6169e..8d87ee3598ec 100644
--- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
+++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix
@@ -47,6 +47,9 @@ let
       HZ = freeform "250";
       HZ_250 = yes;
       HZ_1000 = no;
+
+      # Disable writeback throttling by default
+      BLK_WBT_MQ = lib.mkOverride 60 no;
     };
 
     extraMeta = {