[PATCH] nvme-sysfs: add 'fna' attribute

Keith Busch kbusch at kernel.org
Sun Sep 22 08:36:59 PDT 2024


On Sun, Sep 22, 2024 at 12:45:53AM +0900, Tokunori Ikegami wrote:
> The fna attriute is needed for the format NVM command.

At least for multi-namespace subsystems, I would agree knowing this
value is important to understand the potentially undesired reprecussions
of running a format command, but that logic ought to just go in tooling.
And the meaning of the reported value here is not immediately obvious to
a typical user without the spec in front of you, so I'm a little
skeptical on exporting this attribute.

nvme-cli already checks this on a format request, at least. You probably
are not formatting very frequently anyway, so avoiding an identify
command for such a low frequency event seems a bit overkill to me.



More information about the Linux-nvme mailing list