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 A6913C433FE for ; Thu, 24 Feb 2022 07:25:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231407AbiBXHZ5 (ORCPT ); Thu, 24 Feb 2022 02:25:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbiBXHZ5 (ORCPT ); Thu, 24 Feb 2022 02:25:57 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 383C023401C; Wed, 23 Feb 2022 23:25:28 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id A19D468AA6; Thu, 24 Feb 2022 08:25:24 +0100 (CET) Date: Thu, 24 Feb 2022 08:25:24 +0100 From: Christoph Hellwig To: Bart Van Assche Cc: Ming Lei , Christoph Hellwig , Jens Axboe , "Martin K. Petersen" , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 10/12] block: move blk_exit_queue into disk_release Message-ID: <20220224072524.GA21228@lst.de> References: <20220222141450.591193-1-hch@lst.de> <20220222141450.591193-11-hch@lst.de> <4b9a4121-7f37-9bd3-036a-51892a456eef@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed, Feb 23, 2022 at 12:04:03PM -0800, Bart Van Assche wrote: > On 2/22/22 22:56, Ming Lei wrote: >> But I admit here the name of blk_mq_release_queue() is very misleading, >> maybe blk_mq_release_io_queue() is better? > > I'm not sure what the best name for that function would be. Anyway, thanks > for having clarified that disk structures are removed before the request > queue is cleaned up. That's something I was missing. Maybe disk_release_mq?