]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf02ef3a38b810f56b520cd411d97d389ad3769b1
tree22763847b960d693534209e46bc0c55a112be8a2
parentc3bffcbdb0314fd18495c407622157f36bc31922
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