From ff348f4b6dc3e3c95370489d002ba7b7a04ae7d3 Mon Sep 17 00:00:00 2001 From: gnidorah Date: Fri, 7 Jul 2017 11:41:39 +0300 Subject: [PATCH] linux: Enable more I/O schedulers --- pkgs/os-specific/linux/kernel/common-config.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 912fb8dcee49..cdae5b289902 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -92,6 +92,14 @@ with stdenv.lib; # module, so that the initrd gets a good I/O scheduler. IOSCHED_CFQ y BLK_CGROUP y # required by CFQ + IOSCHED_DEADLINE y + ${optionalString (versionAtLeast version "4.11") '' + MQ_IOSCHED_DEADLINE y + ''} + ${optionalString (versionAtLeast version "4.12") '' + MQ_IOSCHED_KYBER y + IOSCHED_BFQ m + ''} # Enable NUMA. NUMA? y