Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2696420rwi; Tue, 1 Nov 2022 10:35:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jcAog4t3hdtXOIvZASHTtrZ8hUdV/RllNGC6k8AA9l4LTtT1ohuM2nGzUsoGsSMe5M6y/ X-Received: by 2002:a17:902:d490:b0:187:2e5a:5bc1 with SMTP id c16-20020a170902d49000b001872e5a5bc1mr7758208plg.121.1667324112939; Tue, 01 Nov 2022 10:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667324112; cv=none; d=google.com; s=arc-20160816; b=SrpERgN3q33M6yR5kWDGEHC/nSpliaJ7rGuo0pcA2o9DwfEous/opsLU/5AXQXwSeg WKdPUdeEz7O+Cw4Tquftv7vZgO0eF8uJiOHNnguNg1Lr5bpIvvi0/v0dui3o7lIcCI/r xmue33R4OKPe08FFks/g24dBzBkcHLD+oGxHoiUU8VkGlIyi8ngmjiQYscJgjTCJbzXH 8vzuw9BE12R+2CkL3/ameGGpVCr6HShGowu4MLUKV0xgmrA5Jt0pa9Z7HAqqZQn0HoyE yhuck5Wuy4jcG+huzz+Id3JNBZ1OPoFhGAVPkk0Ao/DBbWSO8O5AfyPeWC2ukIWJ7hii SYBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=UEgE41dCHP5gth+vU9jwXJkvNAfPXwY7XNN5LKUzT8A=; b=F3r4vQMXr+eGDlVjGRIZEmhDPuKr0CfsmMywp0mMPDQXRtjZ4uDwBTUHqYdJayg/m7 yljcXGqfUixhIqXC0crrpfsYVxz8+nUIXsxTPEHMNdtlRSCylBLBg3EGgOSDqaASrqjt izZo0JpBaJ+d4cqQuMs4Xd0g6grhZnzKskgyvlvk7rZaO/UAUOhMwhlCAFl9tCZ+E74X QFAXKOXPWjgBsA79UiMyoCkJCGuB2Gi33fCADoD/mRuIO7u8AVd3uDnO1AjMv5RZ1uAn YFPiHXLK9siUSsgz24kGmlIjyRa1tY8dS2Mi63V6bHqjCRjr+GXOXQECxI4W5r8L5f6g /w3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb10-20020a17090b008a00b00205daac38absi11913556pjb.59.2022.11.01.10.35.00; Tue, 01 Nov 2022 10:35:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230043AbiKAR1a (ORCPT + 97 others); Tue, 1 Nov 2022 13:27:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230298AbiKAR10 (ORCPT ); Tue, 1 Nov 2022 13:27:26 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C74371BEA0; Tue, 1 Nov 2022 10:27:23 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 616CC6732D; Tue, 1 Nov 2022 18:27:20 +0100 (CET) Date: Tue, 1 Nov 2022 18:27:20 +0100 From: Christoph Hellwig To: Jinlong Chen Cc: axboe@kernel.dk, hch@lst.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] blk-mq: update comment for blk_mq_quiesce_queue_nowait() Message-ID: <20221101172720.GA20526@lst.de> References: <489a9322eed1f95f8770752cc715084f1fa961d3.1667314759.git.nickyc975@zju.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <489a9322eed1f95f8770752cc715084f1fa961d3.1667314759.git.nickyc975@zju.edu.cn> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 01, 2022 at 11:11:34PM +0800, Jinlong Chen wrote: > blk_mq_quiesce_queue_nowait() is now reasonably used by scsi_host_block() > to avoid calling synchronize_rcu() for each LUN. We should not consider to > remove it. I strongly disagree about this being a reasonable use. What SCSI did there is a horrible hack that should have never been merged. The right thing to do is the per-tag_set quiesce that we've been working on.