]> 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)
commit0108d6ab07e45c1b72d613ed8de7d11313ceb8f7
tree22763847b960d693534209e46bc0c55a112be8a2
parentfe504d3913fcb119127eea39b2dddc57310551aa
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