nvmet_set_error ignores error_loc NVMET_NO_ERROR_LOC

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Sat Apr 3 00:07:21 BST 2021


On 4/2/21 00:36, Hou Pu wrote:
> Hi Amit,
> I think the specification does not tell us which error should go into the
> error log page (or does it?). It is decided by implementation and current
> implementation only records errors with an error_loc other than
> NVMET_NO_ERROR_LOC.
>
> So the problem here is that:
> If some errors which do not set error_loc should go into the error log page,
> we need some change here.
>
> Thanks,
> Hou
>
>  

We set the error based on the request so I think for all the errors we
do have
a error location. Have you encountered a place in current code that sets the
error which is not related to any request ?



More information about the Linux-nvme mailing list