From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86A86C32771 for ; Mon, 26 Sep 2022 15:50:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234993AbiIZPu5 (ORCPT ); Mon, 26 Sep 2022 11:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234931AbiIZPuf (ORCPT ); Mon, 26 Sep 2022 11:50:35 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F17DC46233 for ; Mon, 26 Sep 2022 07:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ielCqWcu80m/nKgdHwuN9KyCfIsy3ISc9bScaGgI/JY=; b=y7WI9y7BQBzrBWC2K8O73Kcfok bnp4tCg2uc/aSYMig6euud2h6osWk7BnvnN2db9FhHgQu9DAq3RR0vbz8TXWnlQoWcVwr7S7sQgfz SdZR8MZs+HmDN0gfPKAKmhuecX9UtXMy+p5OSwyLMO/HQ+cruVyVQ7SnKgTGsHK93tKQdL0NsUxkZ qY37emyaU0L5zSB9BWPLQTII5NFcDwpJJe2QCey6PHL9lpiyzdfx1wmnSP/pB7zIreL4wdLjidggG Q9m29WBrICUQAypW3RPagnf/JYH62B3OWTuuY3XzlxM8PCg6lMmxxlukRCOii4FdRTNujMVjyXNv/ Z65PAQ4w==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocpF8-005NQZ-O8; Mon, 26 Sep 2022 14:37:58 +0000 Date: Mon, 26 Sep 2022 07:37:58 -0700 From: Christoph Hellwig To: Pankaj Raghav Cc: linux-block@vger.kernel.org, axboe@kernel.dk, damien.lemoal@opensource.wdc.com, gost.dev@samsung.com Subject: Re: [PATCH 1/2] block: modify blk_mq_plug() to allow only reads for zoned block devices Message-ID: References: <20220925185348.120964-1-p.raghav@samsung.com> <20220925185348.120964-2-p.raghav@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220925185348.120964-2-p.raghav@samsung.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Sun, Sep 25, 2022 at 08:53:46PM +0200, Pankaj Raghav wrote: > Modify blk_mq_plug() to allow plugging only for read operations in zoned > block devices as there are alternative IO paths in the linux block > layer which can end up doing a write via driver private requests in > sequential write zones. We should be able to plug for all operations that are not REQ_OP_ZONE_APPEND just fine. I also really can't parse your commit log at all, what alternative paths are you talking about here?