[PATCH v2 2/8] nvme: rename uuid to nguid in nvme_ns

Andy Shevchenko andy.shevchenko at gmail.com
Wed Jun 7 06:47:51 PDT 2017


On Thu, Jun 1, 2017 at 2:17 PM, Johannes Thumshirn <jthumshirn at suse.de> wrote:
> The uuid field in the nvme_ns structure represents the nguid field
> from the identify namespace command. And as NVMe 1.3 introduced an
> UUID in the NVMe Namespace Identification Descriptor this will
> collide.
>
> So rename the uuid to nguid to prevent any further
> confusion. Unfortunately we export the nguid to sysfs in the uuid
> sysfs attribute, but this can't be changed anymore without possibly
> breaking existing userspace.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn at suse.de>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Hannes Reinecke <hare at suse.com>

I suppose it should go through UUID tree?

-- 
With Best Regards,
Andy Shevchenko



More information about the Linux-nvme mailing list