[PATCH v2] nvme: check at least one ns identification reported

Christoph Hellwig hch at lst.de
Wed Nov 6 21:28:36 PST 2024


On Wed, Nov 06, 2024 at 06:47:43PM +0800, Guixin Liu wrote:
> I assume that the dm-multipath

dm-multipath is not supported with nvme..

> will not recognize nvme device if nothing to 
> return,

But more importantly the user of the sysfs files is the right place
the just check for these values being non-present.  As said before
it's perfectly valid for 1.0 devices so they have to cope with it
anyway.  I don't think a message in the kernel log that is very to
process algorithmically is not very useful.

(I really with we'd have useful and required identifiers from the
start, but that's a separate discussion)




More information about the Linux-nvme mailing list