[PATCH 3/4] nvme: just check the status code type in nvme_is_path_error

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed Aug 19 17:50:09 EDT 2020


On 8/18/20 00:17, Christoph Hellwig wrote:
> Check the SCT sub-field for a path related status instead of enumerating
> invididual status code.  As of NVMe 1.4 this adds "Internal Path Error"
> and "Controller Pathing Error" to the list, but it also future proofs for
> additional status codes added to the category.
> 
> Suggested-by: Chao Leng<lengchao at huawei.com>
> Signed-off-by: Christoph Hellwig<hch at lst.de>
> Reviewed-by: Mike Snitzer<snitzer at redhat.com>

Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>



More information about the Linux-nvme mailing list