mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED
@ 2017-07-04 16:35 Ben Mezger
  2017-07-04 19:34 ` Omar Sandoval
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Mezger @ 2017-07-04 16:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe, linux-block

This patch, allows BFQ to be chosen in the Default I/O scheduler prompt.

Signed-off-by: Ben Mezger <me@benmezger.nl>
---
 block/Kconfig.iosched | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
index fd2cefa47d35..5be248ce447c 100644
--- a/block/Kconfig.iosched
+++ b/block/Kconfig.iosched
@@ -56,6 +56,9 @@ choice
        config DEFAULT_NOOP
                bool "No-op"

+       config DEFAULT_BFQ
+               bool "BFQ" if IOSCHED_BFQ=y
+
 endchoice

 config DEFAULT_IOSCHED
@@ -63,6 +66,7 @@ config DEFAULT_IOSCHED
        default "deadline" if DEFAULT_DEADLINE
        default "cfq" if DEFAULT_CFQ
        default "noop" if DEFAULT_NOOP
+       default "bfq" if DEFAULT_BFQ

 config MQ_IOSCHED_DEADLINE
        tristate "MQ deadline I/O scheduler"
--
2.13.2

-- 
- seds
https://seds.nl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED
  2017-07-04 16:35 [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED Ben Mezger
@ 2017-07-04 19:34 ` Omar Sandoval
  0 siblings, 0 replies; 2+ messages in thread
From: Omar Sandoval @ 2017-07-04 19:34 UTC (permalink / raw)
  To: Ben Mezger; +Cc: linux-kernel, axboe, linux-block

On Tue, Jul 04, 2017 at 01:35:18PM -0300, Ben Mezger wrote:
> This patch, allows BFQ to be chosen in the Default I/O scheduler prompt.

Nak, this doesn't work. The default scheduler Kconfig option is for the
legacy block path, but BFQ is a blk-mq scheduler.

> Signed-off-by: Ben Mezger <me@benmezger.nl>
> ---
>  block/Kconfig.iosched | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/block/Kconfig.iosched b/block/Kconfig.iosched
> index fd2cefa47d35..5be248ce447c 100644
> --- a/block/Kconfig.iosched
> +++ b/block/Kconfig.iosched
> @@ -56,6 +56,9 @@ choice
>         config DEFAULT_NOOP
>                 bool "No-op"
> 
> +       config DEFAULT_BFQ
> +               bool "BFQ" if IOSCHED_BFQ=y
> +
>  endchoice
> 
>  config DEFAULT_IOSCHED
> @@ -63,6 +66,7 @@ config DEFAULT_IOSCHED
>         default "deadline" if DEFAULT_DEADLINE
>         default "cfq" if DEFAULT_CFQ
>         default "noop" if DEFAULT_NOOP
> +       default "bfq" if DEFAULT_BFQ
> 
>  config MQ_IOSCHED_DEADLINE
>         tristate "MQ deadline I/O scheduler"
> --
> 2.13.2
> 
> -- 
> - seds
> https://seds.nl
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-04 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-04 16:35 [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED Ben Mezger
2017-07-04 19:34 ` Omar Sandoval

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®