Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp550402pxb; Wed, 25 Aug 2021 09:14:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPwKXRCLeSTw5+he0TqcjwNOfW8qQ2QmmcEJOZwAqZ/QGA/W+6NBFjONzJAn5gFBIpdivK X-Received: by 2002:a17:906:4d4d:: with SMTP id b13mr22560152ejv.528.1629908040906; Wed, 25 Aug 2021 09:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629908040; cv=none; d=google.com; s=arc-20160816; b=EaG50iOmHrQ0O164o1uOX/8TfLYlECkNG8eVV2QxI7/7dYuENCEFO9UQQqwc8wZpoy WIQY5FjWgE/wZ+QIat+eyFIteWEnO6ibartUV9bO1jmHtnvUnQvnzteV+1whn5ooY+Ea vQpcx16TwsaQCoNMZJzyPSD1dgdGO7O+gRzlGrBzlB4rUkoeRqHHEXjUbZDJlBOp73i5 C9H9AwDvFn7a/W5av+/I18mmUGfEYRxr1iI6cV9qNJ2ivlNR9wgFIlztC0qaYqbcRz7W bZqZ/zbBwtANRv+yFZiIn0tFBNQ46/rHtlcG1dxI/cvts9jP9pbGg/6WCnwX0RJqVXrp zpOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=zd2jZc/9yTIPDfItLU6lcfiRqc2Lng9TYpcOVkZKrg0=; b=IBKBSlcvqkM/ssFKY6XNqNlV01HrxMCggRl0JHjSrPJG64zw5dxEm9g0YMCo6MRYWu mvn/ibGLJ9r5iO6BBN6Zc2NmWvCetri78ItIfL/cxdLZdq+grKePrGwjiFT01rzQRfY9 Hl/J7Y+SuLhLocgdOXvfYzC7Owv430bRx+SMgOb6e1UvFcUPY9wcUSjqKsjEf2W+16RA wIjZpSLmG48FbyIvXIheMWyrdQkF9Prg5W1zYUaxOEc1bN0LfHSp+U0ZUjdPZDUdjpp6 O2Eu7SUNJu8UTJnI8FMwFcNFNMR19W27SmZHIMTlQ400oJ45AHbKymOkpss5hWgUGzn9 bjpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="YxI/lLcP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l20si250427ejo.60.2021.08.25.09.13.34; Wed, 25 Aug 2021 09:14:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="YxI/lLcP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231687AbhHYQEt (ORCPT + 99 others); Wed, 25 Aug 2021 12:04:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhHYQEt (ORCPT ); Wed, 25 Aug 2021 12:04:49 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F61C061757 for ; Wed, 25 Aug 2021 09:04:03 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id oc2-20020a17090b1c0200b00179e56772d6so4470863pjb.4 for ; Wed, 25 Aug 2021 09:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=zd2jZc/9yTIPDfItLU6lcfiRqc2Lng9TYpcOVkZKrg0=; b=YxI/lLcPyJALksIFY3+WEllPty25JRJLtu29C2a2OsT1+CfoQ3LRKDYwoCq1kGt8kf /jtdi5LTreppqsDKAnNz8dQNkr5E8C5T4c3Ck31lZDwnZTFPCrocKcqjm5iMvJfOkSBP pwUBcrzFpj+d0jUxkm1+LplW94EWYHuBe8ei0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=zd2jZc/9yTIPDfItLU6lcfiRqc2Lng9TYpcOVkZKrg0=; b=cdjnyy7j8ZOby0GXTJJBiSfBRVqKzeIh6HWnnKfDF0K4SFylzOtVTJziH4TQoqWNLk RsJd2ddR/y254bKuY6xXSctJBO0xFD8Tlp8EIAYnLFTYj+1QP1YMWD2HYy62G8r9pzJK NZdqXqQK21MFvh6OSlCtJOT8+z0Te6nMW5sbadKsgWHR7HJ+ifN9qvm8LidfL2zQAXuL 3zEFw9GbBYfLHSxs4i52M3S450jlRT+enE1iYzUDIN631ZKxFsSyiDQugISyIRBzd72T CllTzxtJqWP4pmHlgW5b59g/SrPE6RGwQzeIwqBCTXgCioBW9jj2Icm8pQs97GhFK87c 736w== X-Gm-Message-State: AOAM5316pjDg62KHEWiOxtQrBqZ5sbYynOwj4FaNe3yq4U15SXFg0fLL Fe8hcFGWScNrBG2BFdZtWRyor1a+sJGTbhqEcrojQvIykLveiadaYAxc87JZ8p/CVuJUzVKDjPX 17AqAaKMhma2s63s= X-Received: by 2002:a17:902:a5c5:b029:12c:9108:d83 with SMTP id t5-20020a170902a5c5b029012c91080d83mr38918544plq.33.1629907442649; Wed, 25 Aug 2021 09:04:02 -0700 (PDT) Received: from [192.168.1.40] (ip174-67-196-173.oc.oc.cox.net. [174.67.196.173]) by smtp.gmail.com with ESMTPSA id m2sm448296pgu.15.2021.08.25.09.03.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Aug 2021 09:04:00 -0700 (PDT) Subject: Re: [PATCH v6 3/3] nvme-fc: Remove freeze/unfreeze around update_nr_hw_queues To: Daniel Wagner , Sagi Grimberg Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Keith Busch , Ming Lei , Hannes Reinecke , Wen Xiong , Himanshu Madhani , James Smart References: <20210823112351.82899-1-dwagner@suse.de> <20210823112351.82899-4-dwagner@suse.de> <025942a6-4f57-b005-eb77-e9eed143522c@grimberg.me> <20210825130423.7tpeysh4xtcy2ark@carbon.lan> From: James Smart Message-ID: Date: Wed, 25 Aug 2021 09:03:58 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210825130423.7tpeysh4xtcy2ark@carbon.lan> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002a03e005ca6466ce" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000002a03e005ca6466ce Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 8/25/2021 6:04 AM, Daniel Wagner wrote: > On Tue, Aug 24, 2021 at 01:38:20PM -0700, Sagi Grimberg wrote: >>> freeze before calling update_hr_hw_queues". It's not an exact revert as >>> it leaves the adjusting of hw queues only if the count changes. >> I see that fc doesn't freeze the queues, so it obviously wrong to >> unfreeze them. But is it correct to not freeze the queues? > nvme-fc is draining the queues in the error recovery path > (__nvme_fc_abort_outstanding_ios). There are no request in the queues > hence we don't have to freeze. > > The only reason to keep the freeze/unfreeze in this path would be to > make it look alike the other transport. But it would be a no-op. Yep. And updated commit is :=C2=A0 88e837ed0f1f -- james --=20 This electronic communication and the information and any files transmitted= =20 with it, or attached to it, are confidential and are intended solely for=20 the use of the individual or entity to whom it is addressed and may contain= =20 information that is confidential, legally privileged, protected by privacy= =20 laws, or otherwise restricted from disclosure to anyone else. If you are=20 not the intended recipient or the person responsible for delivering the=20 e-mail to the intended recipient, you are hereby notified that any use,=20 copying, distributing, dissemination, forwarding, printing, or copying of= =20 this e-mail is strictly prohibited. If you received this e-mail in error,= =20 please return the e-mail to the sender, delete it from your computer, and= =20 destroy any printed copy of it. --0000000000002a03e005ca6466ce Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQagYJKoZIhvcNAQcCoIIQWzCCEFcCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3BMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqPtnC27TWsA7pk4uKXscFjkeUE8JZu9BDKaswZygxBOPBQBwrA5+20Wxlk6k1 e6E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