[PATCH] nvme: retry commands if DNR bit is not set
Christoph Hellwig
hch at lst.de
Wed Feb 1 05:09:20 PST 2023
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.
More information about the Linux-nvme
mailing list