Skip to content

Commit 5c279bd

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: default to scsi-mq
Remove the SCSI_MQ_DEFAULT config option and default to the blk-mq I/O path now that we had plenty of testing, and have I/O schedulers for blk-mq. The module option to disable the blk-mq path is kept around for now. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 6d311fa commit 5c279bd

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

drivers/scsi/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,6 @@ config SCSI_NETLINK
4747
default n
4848
depends on NET
4949

50-
config SCSI_MQ_DEFAULT
51-
bool "SCSI: use blk-mq I/O path by default"
52-
depends on SCSI
53-
---help---
54-
This option enables the new blk-mq based I/O path for SCSI
55-
devices by default. With the option the scsi_mod.use_blk_mq
56-
module/boot option defaults to Y, without it to N, but it can
57-
still be overridden either way.
58-
59-
If unsure say N.
60-
6150
config SCSI_PROC_FS
6251
bool "legacy /proc/scsi/ support"
6352
depends on SCSI && PROC_FS

drivers/scsi/scsi.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,11 +800,7 @@ MODULE_LICENSE("GPL");
800800
module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR);
801801
MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels");
802802

803-
#ifdef CONFIG_SCSI_MQ_DEFAULT
804803
bool scsi_use_blk_mq = true;
805-
#else
806-
bool scsi_use_blk_mq = false;
807-
#endif
808804
module_param_named(use_blk_mq, scsi_use_blk_mq, bool, S_IWUSR | S_IRUGO);
809805

810806
static int __init init_scsi(void)

0 commit comments

Comments
 (0)