From 3d70c670f82e80babb34f72063a1821e22fa1728 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 15 Aug 2017 09:30:05 +1000 Subject: [PATCH 25/29] Select SCSI_MQ_DEFAULT automatically when required by default io schedulers. --- block/Kconfig.iosched | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched index 92a5082..be5286a 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" -- 2.9.3