summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCon Kolivas <kernel@kolivas.org>2017-08-15 09:30:05 +1000
committerCon Kolivas <kernel@kolivas.org>2017-08-15 09:30:05 +1000
commit3d70c670f82e80babb34f72063a1821e22fa1728 (patch)
tree5f9d240c3e1e969b45fd9b1745b17eae9a48f164
parentb813f8787d2de2049265f16eac3f87d0e3d10aeb (diff)
Select SCSI_MQ_DEFAULT automatically when required by default io schedulers.
-rw-r--r--block/Kconfig.iosched6
1 files changed, 6 insertions, 0 deletions
diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
index 92a5082af1da..be5286adc26c 100644
--- a/block/Kconfig.iosched
+++ b/block/Kconfig.iosched
@@ -49,15 +49,21 @@ choice
config DEFAULT_DEADLINE
bool "Deadline" if IOSCHED_DEADLINE=y
+ select SCSI if MQ_IOSCHED_DEADLINE=y
+ select SCSI_MQ_DEFAULT if MQ_IOSCHED_DEADLINE=y
config DEFAULT_BFQ
bool "BFQ" if IOSCHED_BFQ=y
+ select SCSI
+ select SCSI_MQ_DEFAULT
config DEFAULT_CFQ_NOINHERIT
bool "CFQ" if IOSCHED_CFQ=y
config DEFAULT_KYBER
bool "KYBER" if MQ_IOSCHED_KYBER=y
+ select SCSI
+ select SCSI_MQ_DEFAULT
config DEFAULT_NOOP
bool "No-op"