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 B4B6FC433FE for ; Fri, 21 Oct 2022 01:53:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229652AbiJUBxp (ORCPT ); Thu, 20 Oct 2022 21:53:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbiJUBxo (ORCPT ); Thu, 20 Oct 2022 21:53:44 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7765B158186 for ; Thu, 20 Oct 2022 18:53:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666317222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hQ/d1CufW14ebx5My/UX89mXFLpqaXhjizNzmGRhLpI=; b=BlBnaSVTC6Dq83wQy7J9qZs5nC4T6RQtWpkxsugZmAEUf/CGHtriSp9SRIre8E2OOoyyoT Al5pAktAjgTmFpmsKD1cKtr8o0gKiK3UnVe+LW2nOGNsu3D5vkf7/ueKGwIJwFF0HBPUr9 t946pTBto0oiJSqDUJlkwDKTgICh0as= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-519-rbO4VJSZOBi7qpmhH2midA-1; Thu, 20 Oct 2022 21:53:41 -0400 X-MC-Unique: rbO4VJSZOBi7qpmhH2midA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1E1643C01C0C; Fri, 21 Oct 2022 01:53:39 +0000 (UTC) Received: from T590 (ovpn-8-24.pek2.redhat.com [10.72.8.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CC4DA1415113; Fri, 21 Oct 2022 01:53:28 +0000 (UTC) Date: Fri, 21 Oct 2022 09:53:21 +0800 From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , Keith Busch , Sagi Grimberg , Chao Leng , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org Subject: Re: [PATCH 5/8] blk-mq: add tagset quiesce interface Message-ID: References: <20221020105608.1581940-1-hch@lst.de> <20221020105608.1581940-6-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221020105608.1581940-6-hch@lst.de> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Oct 20, 2022 at 12:56:05PM +0200, Christoph Hellwig wrote: > From: Chao Leng > > Drivers that have shared tagsets may need to quiesce potentially a lot > of request queues that all share a single tagset (e.g. nvme). Add an > interface to quiesce all the queues on a given tagset. This interface is > useful because it can speedup the quiesce by doing it in parallel. > > Because some queues should not need to be quiesced(e.g. nvme connect_q) > when quiesce the tagset. So introduce QUEUE_FLAG_SKIP_TAGSET_QUIESCE to > tagset quiesce interface to skip the queue. > > Signed-off-by: Chao Leng > [hch: simplify for the per-tag_set srcu_struct] > Signed-off-by: Christoph Hellwig Reviewed-by: Ming Lei Thanks, Ming