[PATCH] nvme: authentication error are always non-retryable

Daniel Wagner dwagner at suse.de
Fri Feb 23 05:29:02 PST 2024


On Fri, Feb 23, 2024 at 11:58:04AM +0100, hare at kernel.org wrote:
> From: Hannes Reinecke <hare at suse.de>
> 
> Any authentication errors which are generated internally are always
> non-retryable, so set the DNR bit to ensure they are not retried.

This still keeps nvme-fc in the retry loop. It fails with -126 which is
-ENOKEY:

[ 2267.185691] nvme nvme0: qid 0: no key
[ 2267.187596] nvme nvme0: qid 0: authentication setup failed
[ 2267.188866] nvme nvme0: NVME-FC{0}: create_assoc failed, assoc_id 2a3022dff0fe0000 ret -126



More information about the Linux-nvme mailing list