diff options
author | aszlig <aszlig@nix.build> | 2018-12-25 00:30:10 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-12-25 00:30:10 +0100 |
commit | b563500b05cbd211241c714f413d964288054415 (patch) | |
tree | c8652143cf6724472f5bf830dc744a2256dc19ad /modules/system/kernel | |
parent | 58ab58c7ea8fa02a1f060be41d48bdb9752d6dcf (diff) |
bfq: Don't fail if DM_MQ_DEFAULT can't be enabled
Since kernel 4.20, the option no longer exists and it's enabled unconditionally. So in order to stay backwards-compatible with older kernels, let's only enable that option if it actually exists (thus the "?"). Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/system/kernel')
-rw-r--r-- | modules/system/kernel/bfq/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/kernel/bfq/default.nix b/modules/system/kernel/bfq/default.nix index cfd0dbcf..47d7a435 100644 --- a/modules/system/kernel/bfq/default.nix +++ b/modules/system/kernel/bfq/default.nix @@ -17,7 +17,7 @@ in { else ./bfq-by-default.patch; extraConfig = '' SCSI_MQ_DEFAULT y - DM_MQ_DEFAULT y + DM_MQ_DEFAULT? y IOSCHED_BFQ y BFQ_GROUP_IOSCHED y ''; |