From: Christoph Hellwig <hch@lst.de>
To: Hannes Reinecke <hare@suse.de>
Cc: Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
Keith Busch <kbusch@kernel.org>,
linux-nvme@lists.infradead.org
Subject: Re: [PATCH] nvme: retry commands if DNR bit is not set
Date: Wed, 1 Feb 2023 14:09:20 +0100 [thread overview]
Message-ID: <20230201130920.GA30589@lst.de> (raw)
In-Reply-To: <20230201115001.57321-1-hare@suse.de>
On Wed, Feb 01, 2023 at 12:50:01PM +0100, Hannes Reinecke wrote:
> Add a 'retry' argument to __nvme_submit_sync_cmd() to instruct
> the function to not set the FAILFAST_DRIVER bit for the command,
> causing it to be retried in nvme_decide_disposition() if the DNR
> bit is not set in the command result.
> And modify the authentication code to allow for retries.
This is missing the why. And maybe we can find a better interace than
a magic bool flag.
next prev parent reply other threads:[~2023-02-01 13:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 11:50 [PATCH] nvme: retry commands if DNR bit is not set Hannes Reinecke
2023-02-01 13:09 ` Christoph Hellwig [this message]
2023-02-01 13:55 ` Hannes Reinecke
2023-02-01 14:45 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2022-11-02 7:36 Hannes Reinecke
2022-11-02 8:00 ` Chao Leng
2022-11-02 14:19 ` Hannes Reinecke
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230201130920.GA30589@lst.de \
--to=hch@lst.de \
--cc=hare@suse.de \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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