[PATCH V3 0/3] Ensure ordered namespace registration during async scan
Keith Busch
kbusch at kernel.org
Thu Feb 26 07:09:32 PST 2026
On Thu, Feb 26, 2026 at 09:07:10AM +0100, Maurizio Lombardi wrote:
> With your proposal, if a user has sparse NSIDs (1, 10, 333)
> then he will get /dev/nvme0n1, /dev/nvme0n10, /dev/nvme0n333.
> On one hand, yes, they are "more stable" and more meaningful too,
> on the other hand this breaks the assumption of contiguous naming.
> This might not be a problem for the mainline kernel, but I suspect we
> will have people complaining again that the /dev/nvmeXnY enumeration changed
The bonus of using the nsid is that it will always enumerate with the
same name even after you alter the other attached namespaces.
More information about the Linux-nvme
mailing list