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

From: Omar Sandoval
Date: Tue Jul 04 2017 - 15:35:11 EST


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@xxxxxxxxxxxx>
> ---
> 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
>