diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-06-22 05:29:05 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-06-22 05:37:29 +0200 |
commit | e2d043af80227e6ab063ca91552683316ab2695a (patch) | |
tree | d682917bc19862ba31adda459cc3f269324281a3 /modules/user/aszlig/system/kernel.nix | |
parent | aa047fd2583780b330eeefaf3efd664b36c7cbd3 (diff) |
system/kernel: Drop BFQ scheduler patch
We're using kernel 4.12 and the BFQ scheduler is included there as a blk-BQ scheduler, so instead of the patch, let's just use a config where we set BFQ to be used as the default scheduler. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/user/aszlig/system/kernel.nix')
-rw-r--r-- | modules/user/aszlig/system/kernel.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/user/aszlig/system/kernel.nix b/modules/user/aszlig/system/kernel.nix index afbbb759..4d0a4120 100644 --- a/modules/user/aszlig/system/kernel.nix +++ b/modules/user/aszlig/system/kernel.nix @@ -8,12 +8,12 @@ config = lib.mkIf config.vuizvui.user.aszlig.system.kernel.enable { boot = { kernelPatches = lib.singleton { - name = "bfq-v8r7"; - patch = ./bfq.patch; + name = "bfq"; + patch = pkgs.runCommand "empty.patch" {} "touch \"$out\""; extraConfig = '' + SCSI_MQ_DEFAULT y IOSCHED_BFQ y - DEFAULT_BFQ y - DEFAULT_CFQ n + BFQ_GROUP_IOSCHED y DEFAULT_IOSCHED bfq ''; }; |