Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp160954pxk; Wed, 16 Sep 2020 00:35:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVrINn54bO2QacSmwBomiLA9a7pb9py2I6DYz/HXsz+z/lDCZMlAzKqzzO8D28G/RqvEjw X-Received: by 2002:a17:906:e18:: with SMTP id l24mr24032512eji.334.1600241748730; Wed, 16 Sep 2020 00:35:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600241748; cv=none; d=google.com; s=arc-20160816; b=RX9uGa/yTnqPVr+/oxAkTL3mBe6CqKLLcUxlTeDGhTr2NPGgUuQ0Dtt/T40b6uDR28 T9wltTTNOb04QyiPspSfJG7M74JJGh0hQkBpN6wVIRlYxDBsotET0Fil3SjqL9Do+pcN C5sz7XRg0OP6qRYZlZSg1Y/xuYn0iFDcnEtcFokyenXygiaaGYYZzZbH/5s+2+5FaI0e Rpbh7+ICZJi3BpbD6Q4qSHrgdOwvboGjWfWD79QhnSi1thw68bsONG26oE9PSpN+I1+q dC+N5LsENNQD8g6u4lpwCaJUX9G7ven3cG/gBqbuUNB1Ug1vsEK02mqK6wA4DyLD1HxQ Vp7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=OvRNknNnkIv1ZH7QbwKLY5hnOcqlsWcrEjkQNbffgEs=; b=Y3MSGLidmDmw+Dgdj0Q+MpqB2XArXLTyCDlhEqwGMO/74QIaR8YkqPvZd0V+ZflQ5u eEBoMpIPttz9V9yKAADVVSBt4UnU4v8t0Y8JAB/eW/ubuVf4npRAFgWyxV1FWEORTckJ A+Lxhny5MlBcC/ckuXN+5YYlY2YiXhYkPHFW9PNs0RAoHaq5FbfeVXMApN0DOlIszJOK Jh6LrZbmbbpJKSeVxTWC340oVIg6o3kSB3NVOZleKgRAfOLmp9uRxp6Uw7fz5evfuHaH VvRnYSU/r56RtUmyO/kZudNQwF1m36BWz7RUIKNYOqY62J+Wx1tz5s285KgE6vxJ1NVA m6AQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j4si11239446eds.475.2020.09.16.00.35.25; Wed, 16 Sep 2020 00:35:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726285AbgIPHeb (ORCPT + 99 others); Wed, 16 Sep 2020 03:34:31 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:33628 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbgIPHe3 (ORCPT ); Wed, 16 Sep 2020 03:34:29 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id A79D81C0B80; Wed, 16 Sep 2020 09:34:27 +0200 (CEST) Date: Wed, 16 Sep 2020 09:34:27 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Christoph Hellwig , Sagi Grimberg , Sasha Levin Subject: Re: [PATCH 4.19 28/78] nvme: have nvme_wait_freeze_timeout return if it timed out Message-ID: <20200916073427.GB32537@duo.ucw.cz> References: <20200915140633.552502750@linuxfoundation.org> <20200915140634.986905823@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <20200915140634.986905823@linuxfoundation.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > [ Upstream commit 7cf0d7c0f3c3b0203aaf81c1bc884924d8fdb9bd ] >=20 > Users can detect if the wait has completed or not and take appropriate > actions based on this information (e.g. weather to continue > initialization or rather fail and schedule another initialization > attempt). This does not fix any bug and is not needed in 4.19-stable. In the 5.8-stable there are other patches that depend on that (which is probably why it was merged), but those are not present in 4.19. Please drop. Best regards, Pavel > -void nvme_wait_freeze_timeout(struct nvme_ctrl *ctrl, long timeout); > +int nvme_wait_freeze_timeout(struct nvme_ctrl *ctrl, long timeout); --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX2HAAwAKCRAw5/Bqldv6 8mHoAJ9kYbdv6h0mPccF2Jh3Z4JMmxUeLQCeI8r7m93bpV14khckbvVsO9BKOhw= =19tg -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--