[PATCH 1/1] nvme: update enumerations for status codes
Max Gurtovoy
mgurtovoy at nvidia.com
Wed Jan 20 05:02:58 EST 2021
On 1/20/2021 7:09 AM, Chaitanya Kulkarni wrote:
> Max,
> On 1/4/21 04:59, Max Gurtovoy wrote:
>> All the updates are mentioned in the ratified NVMe 1.4 spec.
>>
>> Signed-off-by: Max Gurtovoy <mgurtovoy at nvidia.com>
>> ---
> I'm not against keeping the header file up to date with the spec,
> but should we add the error status into the kernel code even if
> we are not using it in the host/target driver ?
I we go with this approach we should remove half of the code inside nvme.h
>
> Here we add 24 lines which we have not used at all.
>> include/linux/nvme.h | 24 ++++++++++++++++++++----
>> 1 file changed, 20 insertions(+), 4 deletions(-)
>>
> Regarding the nvme-cli this is much needed a sync since it does
> decode all the errors if I'm not wrong.
I can sync it in V2.
More information about the Linux-nvme
mailing list