From 7856ba881a7de2d490fc1a90d2bbeb294492b0cb Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 17 Sep 2013 16:00:36 +0200 Subject: [PATCH] linux: Enable proper blkio controller support Having BLK_CGROUP is not enough, you need BLK_DEV_THROTTLING or CFQ_GROUP_IOSCHED to do anything useful. --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index d4f7c4e6718..45cd135fbbe 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -242,6 +242,8 @@ with stdenv.lib; CGROUP_MEM_RES_CTLR_SWAP y ''} DEVPTS_MULTIPLE_INSTANCES y + BLK_DEV_THROTTLING y + CFQ_GROUP_IOSCHED y # Enable staging drivers. These are somewhat experimental, but # they generally don't hurt.