From patchwork Tue Jun 4 07:23:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Le Moal X-Patchwork-Id: 10974325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6A9F13AD for ; Tue, 4 Jun 2019 07:23:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CE6727F4B for ; Tue, 4 Jun 2019 07:23:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 874502875E; Tue, 4 Jun 2019 07:23:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6D84628759 for ; Tue, 4 Jun 2019 07:23:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbfFDHXn (ORCPT ); Tue, 4 Jun 2019 03:23:43 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:61929 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726589AbfFDHXm (ORCPT ); Tue, 4 Jun 2019 03:23:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1559633025; x=1591169025; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=fg+CIfq0i4Z8T9OFilsi880qv/qqeVv7+jIGZTgYjvs=; b=VrBCTpgEscRW4usYhqaQGTNRKQBjvMHScKV2aX6X8USGtHEQUIUN1BI1 mYiSZ/cJJF7uBiKMSmYkHBYoFia0R6GYj58DzklLpiwikB9PHYixbwDt+ HJEg6+9tvv9d4IYgUlI2i+cz0BhOEGtMwlaYJpeVjQ6XOagVKtgz7KjZ1 ulZFLnanE/A5BgZLrJT4e4118gjFGN4dcNFv0yacIE2QNqDNWV1nzdbin 6pCeAH8OhhDpZD+736BbsI7I/nD5gyNIehKr7dQTMn9i27zU4xxhIlbYr 5+qT9Hh/qJeTo+xW1Vgbc3fOorXc//QV9I2c5CWZEBais6+W0kC9c8o1V A==; X-IronPort-AV: E=Sophos;i="5.60,549,1549900800"; d="scan'208";a="209341295" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 04 Jun 2019 15:23:45 +0800 IronPort-SDR: 2atXjGWpA1eUP9mp5+m5TX2xp5t2JXQo74qwTsow2ovmk2Zo2evvw6QsvGoX17n17coPuLguue IAx7yyDvXuPT7GGAJVaTUxnsuGqmJqbu3zcDLmpYQ3lBNJDv/puvbMdwDe/u6iU4MRLBpjwnby REe2hgDXQZ6XoGlEnVFtowcWd7QmljUqPo6U0WkbjrryQfOFxKAtYhhpmm1BD/aesdTwDXpF8R WmocfXPQjf4SWnza/sKEVSXqNsH2jm1R7KqwzzPnMD15u+JfKV3U+YhU98Pm71qjXm4lHYVeLS JC24EN+gPE/uJMGpHD/veltS Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 04 Jun 2019 00:01:05 -0700 IronPort-SDR: lAMa/DEaLk9hleZFNi3h8f8kQ/yXBsiYQbozLsCRXwGgBrpxcXF0eLHtPDZvaQDEYhznFdct7J QXeWi0H6lOyYJS/CJfRy3G86JhFeW1uHOMS4BZqEtj2TvEQnh1MT64/JdsvbRRd2kTB2snnfIY Y3yB8o1+dKVBKg1Qy2F9hFWVjdJR+NYsq8JwITuOgZgp88qyHBg9T0+WIKlq4kKbCa6YpcaV9D myFmvU69F27BoG860vdo2nP8N0Sp6wG93eAA1T3cr8wVjbbOuor9Sg35KC01kcabPU3iYA4q0u B/g= Received: from washi.fujisawa.hgst.com ([10.149.53.254]) by uls-op-cesaip02.wdc.com with ESMTP; 04 Jun 2019 00:23:42 -0700 From: Damien Le Moal To: linux-block@vger.kernel.org, Jens Axboe Cc: Matias Bjorling , Chaitanya Kulkarni Subject: [PATCH] block: force select mq-deadline for zoned block devices Date: Tue, 4 Jun 2019 16:23:40 +0900 Message-Id: <20190604072340.12224-1-damien.lemoal@wdc.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Tested-by: Chaitanya Kulkarni Reviewed-by: Chaitanya Kulkarni Reviewed-by: Ming Lei --- 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.