[PATCH 1/2] nvme: add missing path related status values

Hannes Reinecke hare at suse.de
Thu Apr 28 23:08:14 PDT 2022


On 4/28/22 11:19, Max Gurtovoy wrote:
> The following path related status code from the NVM specification were
> added: Internal Path Error (00h) and Controller Pathing Error (60h).
> 
> Signed-off-by: Max Gurtovoy <mgurtovoy at nvidia.com>
> ---
>   include/linux/nvme.h | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/include/linux/nvme.h b/include/linux/nvme.h
> index f626a445d1a8..bbabdc7600da 100644
> --- a/include/linux/nvme.h
> +++ b/include/linux/nvme.h
> @@ -1679,9 +1679,11 @@ enum {
>   	/*
>   	 * Path-related Errors:
>   	 */
> +	NVME_SC_INTERNAL_PATH_ERROR	= 0x300,
>   	NVME_SC_ANA_PERSISTENT_LOSS	= 0x301,
>   	NVME_SC_ANA_INACCESSIBLE	= 0x302,
>   	NVME_SC_ANA_TRANSITION		= 0x303,
> +	NVME_SC_CTRL_PATH_ERROR		= 0x360,
>   	NVME_SC_HOST_PATH_ERROR		= 0x370,
>   	NVME_SC_HOST_ABORTED_CMD	= 0x371,
>   
I would merge both patches.
However:

Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer



More information about the Linux-nvme mailing list