nvme: add uevent variables for controller devices
authorSagi Grimberg <sagi@grimberg.me>
Wed, 4 Sep 2019 21:29:48 +0000 (14:29 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 12 Sep 2019 15:50:46 +0000 (08:50 -0700)
commita42f42e5bb84d82f1e9890f33364c4c04997c323
tree22763847b960d693534209e46bc0c55a112be8a2
parent93da40239b1069ef96bbfe7c8d08edb347e8107a
nvme: add uevent variables for controller devices

When we send uevents to userspace, add controller specific
environment variables to uniquly identify the controller beyond
its device name.

This will be useful to address discovery log change events by
actually verifying that the discovery controller is indeed the
same as the device that generated the event.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c