From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: "hch@lst.de" <hch@lst.de>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] scsi: default to scsi-mq
Date: Mon, 10 Jul 2017 15:50:42 +0000 [thread overview]
Message-ID: <1499701840.3555.7.camel@wdc.com> (raw)
In-Reply-To: <20170616082755.22832-1-hch@lst.de>
On Fri, 2017-06-16 at 10:27 +0200, Christoph Hellwig wrote:
> 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>
> ---
> drivers/scsi/Kconfig | 11 -----------
> drivers/scsi/scsi.c | 4 ----
> 2 files changed, 15 deletions(-)
>
> diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
> index 3c52867dfe28..d384f4f86c26 100644
> --- a/drivers/scsi/Kconfig
> +++ b/drivers/scsi/Kconfig
> @@ -47,17 +47,6 @@ config SCSI_NETLINK
> default n
> depends on NET
>
> -config SCSI_MQ_DEFAULT
> - bool "SCSI: use blk-mq I/O path by default"
> - depends on SCSI
> - ---help---
> - This option enables the new blk-mq based I/O path for SCSI
> - devices by default. With the option the scsi_mod.use_blk_mq
> - module/boot option defaults to Y, without it to N, but it can
> - still be overridden either way.
> -
> - If unsure say N.
> -
> config SCSI_PROC_FS
> bool "legacy /proc/scsi/ support"
> depends on SCSI && PROC_FS
> diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
> index 1bf274e3b2b6..3d38c6d463b8 100644
> --- a/drivers/scsi/scsi.c
> +++ b/drivers/scsi/scsi.c
> @@ -800,11 +800,7 @@ MODULE_LICENSE("GPL");
> module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR);
> MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels");
>
> -#ifdef CONFIG_SCSI_MQ_DEFAULT
> bool scsi_use_blk_mq = true;
> -#else
> -bool scsi_use_blk_mq = false;
> -#endif
> module_param_named(use_blk_mq, scsi_use_blk_mq, bool, S_IWUSR | S_IRUGO);
>
> static int __init init_scsi(void)
Since a fix for the performance regression triggered by this patch will be upstream
soon (see also https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-linus&id=32825c45ff8f4cce937ab85b030dc693ceb1aa0a):
Acked-by: Bart Van Assche <bart.vanassche@wdc.com>
next prev parent reply other threads:[~2017-07-10 15:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 8:27 [PATCH] scsi: default to scsi-mq Christoph Hellwig
2017-06-19 6:03 ` [lkp-robot] [scsi] ebc76736f2: fio.write_bw_MBps -4% regression kernel test robot
2017-06-19 7:09 ` Christoph Hellwig
2017-06-19 7:49 ` Ye Xiaolong
2017-06-19 8:41 ` Christoph Hellwig
2017-06-19 8:52 ` Ye Xiaolong
2017-06-19 9:39 ` Christoph Hellwig
2017-06-20 2:16 ` Ye Xiaolong
2017-06-20 6:04 ` Christoph Hellwig
2017-06-22 15:05 ` [PATCH] scsi: default to scsi-mq Martin Wilck
2017-06-26 9:48 ` Christoph Hellwig
2017-06-26 12:13 ` Bart Van Assche
2017-06-26 15:31 ` Bart Van Assche
2017-06-26 18:55 ` Martin Wilck
2017-06-27 6:07 ` Bart Van Assche
2017-07-10 15:50 ` Bart Van Assche [this message]
2017-07-11 10:22 ` John Garry
2017-07-11 13:32 ` Bart Van Assche
2017-07-11 14:14 ` John Garry
2017-07-11 15:46 ` Bart Van Assche
2017-07-11 17:34 ` John Garry
2017-07-12 8:26 ` John Garry
2017-07-12 14:18 ` Bart Van Assche
2017-07-12 15:54 ` Jonathan Cameron
2017-07-14 9:56 ` Jonathan Cameron
2017-07-14 12:45 ` hch
2017-07-18 15:58 ` Jonathan Cameron
2017-07-18 16:24 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499701840.3555.7.camel@wdc.com \
--to=bart.vanassche@wdc.com \
--cc=hch@lst.de \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).