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 X-Spam-Level: X-Spam-Status: No, score=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E4EEC11F66 for ; Tue, 29 Jun 2021 12:31:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 721A461D94 for ; Tue, 29 Jun 2021 12:31:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233680AbhF2Md5 (ORCPT ); Tue, 29 Jun 2021 08:33:57 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:40042 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233655AbhF2Mdy (ORCPT ); Tue, 29 Jun 2021 08:33:54 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4292C226C9; Tue, 29 Jun 2021 12:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1624969886; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYdod1Jl3r0ZKD72T4epi0bSja0sCKQ3Knam8SHOrXI=; b=17psiHPvIhgmVbM+cUCSHTOP4LYqLwUTJpo17O0GiOMsVwnbZQfp6N+Esjy64iLXUnz4mj oiV0N//COGEqeDrfvioZQgQDmjpisgpFshDMjivwkL6xbYwvsN/99bpP0cT2OiwXbGozhE 6fOWF7lHYNmDjIs0th/H3CIkt7j2omU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1624969886; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYdod1Jl3r0ZKD72T4epi0bSja0sCKQ3Knam8SHOrXI=; b=DB9SexW3tuHSpBBvFMe4hAj5CaGiaeTvQ1aV24x+bhEJFr4YSp4VKHQfFdduEriuDDvQxD vyiiigQgZDNO6hCQ== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 0F5F711906; Tue, 29 Jun 2021 12:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1624969886; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYdod1Jl3r0ZKD72T4epi0bSja0sCKQ3Knam8SHOrXI=; b=17psiHPvIhgmVbM+cUCSHTOP4LYqLwUTJpo17O0GiOMsVwnbZQfp6N+Esjy64iLXUnz4mj oiV0N//COGEqeDrfvioZQgQDmjpisgpFshDMjivwkL6xbYwvsN/99bpP0cT2OiwXbGozhE 6fOWF7lHYNmDjIs0th/H3CIkt7j2omU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1624969886; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JYdod1Jl3r0ZKD72T4epi0bSja0sCKQ3Knam8SHOrXI=; b=DB9SexW3tuHSpBBvFMe4hAj5CaGiaeTvQ1aV24x+bhEJFr4YSp4VKHQfFdduEriuDDvQxD vyiiigQgZDNO6hCQ== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id xXfYAp4S22D3SQAALh3uQQ (envelope-from ); Tue, 29 Jun 2021 12:31:26 +0000 Subject: Re: [PATCH 1/2] nvme-fc: Update hardware queues before using them To: Daniel Wagner , linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, James Smart , Keith Busch , Jens Axboe , Ming Lei , Sagi Grimberg References: <20210625101649.49296-1-dwagner@suse.de> <20210625101649.49296-2-dwagner@suse.de> From: Hannes Reinecke Message-ID: <11737f53-8959-3d83-6be8-feca7fa40be7@suse.de> Date: Tue, 29 Jun 2021 14:31:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <20210625101649.49296-2-dwagner@suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/25/21 12:16 PM, Daniel Wagner wrote: > In case the number of hardware queues changes, do the update the > tagset and ctx to hctx first before using the mapping to recreate and > connnect the IO queues. > > Signed-off-by: Daniel Wagner > --- > drivers/nvme/host/fc.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer