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=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 5AC9DC433E6 for ; Wed, 27 Jan 2021 11:01:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA9802076D for ; Wed, 27 Jan 2021 11:01:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EA9802076D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZLPwqXrTNSX7Zh+ICOHa1Dye+NRhZKjBQFoHbUnJA10=; b=cZyJAjwGUhrsQeDPaPwJRXPNe 3RIhIcyCDam9rk0F8MJkrMDoLAubOoFeei14ZYh+TXlv5LD/cSuphih6zgX7Lqx657VzBlv1tAWYR SLfMbYtuXWUUH7ObCrAWFHCwWTLgT9xKVHsO7Zng49dt9/O+txAjFFROOpKWotUFB0Qi/9QYmdbMh tWovvUByeLLL3cRfeAFFqok7C4u3oBPyo/Zn8NwVEI3n7Ef9b1/pqi7YegcbabqnQYQtXOZRvWaIC 0oCiPL9MAvaPhzj/bmjX+FQQ9eAd77AyZjEw8UN8seJR7xPjZKKibE6hhaUMHmZPg161rpSJBGPpm 5L9HQH7Dw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4iYi-0003K4-Fb; Wed, 27 Jan 2021 11:00:24 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l4iYe-0003I7-RF for linux-nvme@lists.infradead.org; Wed, 27 Jan 2021 11:00:21 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id BD4C4AD26; Wed, 27 Jan 2021 11:00:19 +0000 (UTC) Date: Wed, 27 Jan 2021 12:00:19 +0100 From: Daniel Wagner To: Hannes Reinecke Subject: Re: [PATCH 5/5] nvme: return -ETIMEDOUT in nvme_submit_sync_cmd() Message-ID: <20210127110019.fsi6ikq22fd6pssq@beryllium.lan> References: <20210127103326.16191-1-hare@suse.de> <20210127103326.16191-6-hare@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210127103326.16191-6-hare@suse.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210127_060021_013623_B827BBEF X-CRM114-Status: GOOD ( 12.42 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Smart , linux-nvme@lists.infradead.org, Christoph Hellwig , Keith Busch , Sagi Grimberg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Wed, Jan 27, 2021 at 11:33:26AM +0100, Hannes Reinecke wrote: > When a command times out we should be returning -ETIMEDOUT in > nvme_submit_sync_cmd(), and not requiring the caller to guess whether > a specific NVMe status should be interpreted as a timeout. > > Signed-off-by: Hannes Reinecke Reviewed-by: Daniel Wagner _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme