Re: [PATCH] nvmet: report backend transport errors as path errors
From: Christoph Hellwig
Date: Fri Nov 20 2026 - 12:57:07 EST
On Fri, Nov 13, 2026 at 02:02:47PM +0300, Gleb Chesnokov wrote:
> The block backend maps BLK_STS_TRANSPORT to NVME_SC_INTERNAL with DNR
> set. This discards the backend's transport error classification. A Linux
> native multipath host completes the request before considering path
> failover, even if another controller can still access the namespace.
>
> Map BLK_STS_TRANSPORT to NVME_SC_INTERNAL_PATH_ERROR without DNR instead.
> The transport failure is behind the controller, so report an internal
> path error rather than a host path error. Associate the error log entry
> with the namespace, as for the existing access-denied status.
>
> This allows otherwise retryable native multipath requests to reach path
> error handling.
Looks good:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>