archive mirror
 help / color / mirror / Atom feed
From: Hannes Reinecke <>
To: Christoph Hellwig <>
Cc: Keith Busch <>,
	Sagi Grimberg <>,
Subject: Re: [PATCH] nvme: always treat DNR status as no-retryable
Date: Tue, 26 Nov 2019 17:28:39 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 11/26/19 5:22 PM, Christoph Hellwig wrote:
> On Tue, Nov 26, 2019 at 02:37:49PM +0100, Hannes Reinecke wrote:
>> If the DNR bit is set in the command status we should not retry
>> the command, irrespective of what the actual status is.
>> So map it directly to BLK_STS_TARGET to inform upper layers to
>> not retry the command, not even on another path.
> We've been there before, have we?  What is your use case.  I.e.
> what part of the kernel is retrying what command that you don't
> want to be retried?
EG Namespace not ready.
Some NetApp arrays return "namespace not ready" for either a temporary 
issue (eg during array failover or whatnot), and then will have the DNR 
bit not set (as you can retry, and eventually the namespace will become 
ready). Or they return 'namepace not ready' for cases where the 
namespace has been unmapped, for which is retry is pointless, and hence 
have the DNR bit set.


Dr. Hannes Reinecke            Teamlead Storage & Networking                              +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

linux-nvme mailing list

      reply	other threads:[~2019-11-26 16:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-26 13:37 [PATCH] nvme: always treat DNR status as no-retryable Hannes Reinecke
2019-11-26 16:15 ` Keith Busch
2019-11-26 16:34   ` Hannes Reinecke
2019-11-26 16:39     ` Christoph Hellwig
2019-11-26 16:22 ` Christoph Hellwig
2019-11-26 16:28   ` Hannes Reinecke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).