Re: [PATCH] block: force select mq-deadline for zoned block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 4, 2019 at 3:24 PM Damien Le Moal <damien.lemoal@xxxxxxx> wrote:
>
> In most use cases of zoned block devices (aka SMR disks), the
> mq-deadline scheduler is mandatory as it implements sequential write
> command processing guarantees with zone write locking. So make sure that
> this scheduler is always enabled if CONFIG_BLK_DEV_ZONED is selected.
>
> Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx>
> ---
>  block/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/block/Kconfig b/block/Kconfig
> index 1b220101a9cb..2466dcc3ef1d 100644
> --- a/block/Kconfig
> +++ b/block/Kconfig
> @@ -73,6 +73,7 @@ config BLK_DEV_INTEGRITY
>
>  config BLK_DEV_ZONED
>         bool "Zoned block device support"
> +       select MQ_IOSCHED_DEADLINE
>         ---help---
>         Block layer zoned block device support. This option enables
>         support for ZAC/ZBC host-managed and host-aware zoned block devices.
> --
> 2.21.0
>

Looks fine:

Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx>

-- 
Ming Lei



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux