[PATCH v2 0/2] Fix missing AENs when discovery controllers are disconnected
Sagi Grimberg
sagi at grimberg.me
Thu Sep 22 01:15:35 PDT 2022
When a discovery controller is disconnected, no AENs will
arrive to notify the host about discovery log-page changes.
Fix this with trapping a new dedicated kernel udev event for persistent
discovery controllers that reconnect. Prior attempt tried to use
"connected" event already sent by the kernel however this also applied
on the first connected, causing undesired side-effects when issuing
a simple 'discover' command.
The patchset includes the nvme-cli counter-part as well.
Sagi Grimberg (2):
nvme: enumerate controller flags
nvme: send a rediscover uevent when a persistent discovery controller
reconnects
drivers/nvme/host/core.c | 10 ++++++++++
drivers/nvme/host/nvme.h | 8 ++++++--
2 files changed, 16 insertions(+), 2 deletions(-)
--
2.34.1
More information about the Linux-nvme
mailing list