Merge pull request #27201 from gnidorah/schedulers
linux: Enable more I/O schedulers
commit6e4a343fa4922ecc67b94350250bd375e8d67a0e
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateFri 7 Jul 2017, 10:07 (9 years ago)
parent0f2db06ff348f4
pkgs/os-specific/linux/kernel/common-config.nix+8
@@ -92,6 +92,14 @@ with stdenv.lib;
9292 # module, so that the initrd gets a good I/O scheduler.
9393 IOSCHED_CFQ y
9494 BLK_CGROUP y # required by CFQ
95+ IOSCHED_DEADLINE y
96+ ${optionalString (versionAtLeast version "4.11") ''
97+ MQ_IOSCHED_DEADLINE y
98+ ''}
99+ ${optionalString (versionAtLeast version "4.12") ''
100+ MQ_IOSCHED_KYBER y
101+ IOSCHED_BFQ m
102+ ''}
95103
96104 # Enable NUMA.
97105 NUMA? y