[PATCH] nvme: check at least one ns identification reported
Guixin Liu
kanie at linux.alibaba.com
Thu Oct 31 18:32:53 PDT 2024
在 2024/10/31 20:55, Christoph Hellwig 写道:
> On Thu, Oct 31, 2024 at 06:38:03PM +0800, Guixin Liu wrote:
>> Per 2.1 base NVMe spec:
>> At least one Namespace Identification Descriptor identifying the
>> namespace (i.e., NIDT field set to 1h, 2h, or 3h).
>> Check there is at least one reported.
> NVMe 1.0 didn't have any of these identifier, so it's unfortunate
> but perfectly valid if devices don't have any.
Maybe I can add a "NVME_VS > 1.0" check?
Best Regards,
Guixin Liu
More information about the Linux-nvme
mailing list