[PATCH v2] NVMe:Expose model attribute in sysfs

Keith Busch keith.busch at intel.com
Mon Nov 9 07:43:49 PST 2015


On Tue, Sep 15, 2015 at 04:26:09PM -0400, Sujith Pandel wrote:
> On Wed, Sep 09, 2015 at 01:27:36AM -0500, Sujith Pandel wrote:
> > nvme driver does not show the model attribute of disk in sysfs.
> > nvme_dev already has this attribute populated during nvme_dev_add().
> > Group model and other the device attributes as an attribute group
> > and create sysfs files for the group using sysfs_create_group().
> 
> Any updates on this? Can this be considered for inclusion?

Yes, I'd like to see this included. It will make it easier to add new
attributes to help the systemd developers[1] identify nvme controllers
and their namespaces.

 [1]  https://github.com/systemd/systemd/issues/1453



More information about the Linux-nvme mailing list