Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681087 > unrolled thread

[PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED

Started byBen Mezger <su@seds.nl>
First post2017-07-04 18:40 +0200
Last post2017-07-04 21:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED Ben Mezger <su@seds.nl> - 2017-07-04 18:40 +0200
    Re: [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED Omar Sandoval <osandov@osandov.com> - 2017-07-04 21:40 +0200

#1681087 — [PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED

FromBen Mezger <su@seds.nl>
Date2017-07-04 18:40 +0200
Subject[PATCH] block/Kconfig.iosched: Enable BFQ on DEFAULT_IOSCHED
Message-ID<tZz1L-2qe-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1681144

FromOmar Sandoval <osandov@osandov.com>
Date2017-07-04 21:40 +0200
Message-ID<tZBPY-4mq-9@gated-at.bofh.it>
In reply to#1681087
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
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web