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 EDD6DC433F5 for ; Mon, 7 Mar 2022 07:10:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235729AbiCGHLO (ORCPT ); Mon, 7 Mar 2022 02:11:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235040AbiCGHLN (ORCPT ); Mon, 7 Mar 2022 02:11:13 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C08541BD for ; Sun, 6 Mar 2022 23:10:20 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id C6A2168AA6; Mon, 7 Mar 2022 08:10:16 +0100 (CET) Date: Mon, 7 Mar 2022 08:10:16 +0100 From: Christoph Hellwig To: Ming Lei Cc: Jens Axboe , linux-block@vger.kernel.org, Yu Kuai , Christoph Hellwig Subject: Re: [PATCH V3 3/6] blk-mq: reconfigure poll after queue map is changed Message-ID: <20220307071016.GA32227@lst.de> References: <20220307064401.30056-1-ming.lei@redhat.com> <20220307064401.30056-4-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220307064401.30056-4-ming.lei@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, Mar 07, 2022 at 02:43:58PM +0800, Ming Lei wrote: > queue map can be changed when updating nr_hw_queues, so we need to > reconfigure queue's poll capability. Add one helper for doing this job. > > Signed-off-by: Ming Lei Eventually we'd want to reuse this for nvme-multipath as already pointed out. But I'm fine with just fixing this up later, so: Reviewed-by: Christoph Hellwig