[PATCH v3] nvme/host: add delayed retries upon non-fatal error during ns validation

Christoph Hellwig hch at lst.de
Wed Jan 7 06:33:51 PST 2026


On Sat, Jan 03, 2026 at 04:52:00PM -0800, Alex Tran wrote:
> If a non-fatal error is received during nvme namespace validation, it
> should not be ignored and the namespace should not be removed immediately.
> Rather, delayed retries should be performed on the namespace validation
> process.
> 
> This handles non-fatal issues more robustly, by retrying a few times before
> giving up and removing the namespace. The number of retries is set
> to 3 and the interval between retries is set to 3 seconds.
> 
> The retries are handled locally. Upon success then end. Upon fatal error
> then remove the namespace before ending. Upon non-fatal error, retry
> until the max retry amount is hit before ending and removing the ns.

What non-fatal errors do you see?




More information about the Linux-nvme mailing list