[PATCH 2/2] nvme-auth: set the DNR bit if authentication failed

Christoph Hellwig hch at lst.de
Tue Sep 6 23:46:23 PDT 2022


On Tue, Aug 30, 2022 at 02:49:25PM +0200, Hannes Reinecke wrote:
> If authentication failed we should be setting the 'DNR' bit, as
> each retry will yield exactly the same result; we rather should
> change the parameters to 'nvme connect' to fixup the situation.

Why is this code using nvme status codes in host codes?  These
codes only apply to on the wire communication and should never
be used for local error reporting.



More information about the Linux-nvme mailing list