[PATCH rfc 0/1] Fix missing AENs when discovery controllers are disconnected

Sagi Grimberg sagi at grimberg.me
Wed Sep 7 07:24:07 PDT 2022


When a discovery controller is disconnected, no AENs will
arrive to notify the host about discovery log-page changes.

This attempts to fix it with a new connection parameter asking
the kernel to send a dedicated udev event for this case. 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/libnvme counter-parts as well.

Sagi Grimberg (1):
  fabrics: support notify_rediscover connect parameter

 drivers/nvme/host/core.c    | 4 ++++
 drivers/nvme/host/fabrics.c | 6 +++++-
 drivers/nvme/host/fabrics.h | 4 ++++
 drivers/nvme/host/fc.c      | 5 ++---
 4 files changed, 15 insertions(+), 4 deletions(-)

-- 
2.34.1




More information about the Linux-nvme mailing list