Skip to content

RFC nvmet-rdma automatic port re-activation

Sagi Grimberg linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvmet-rdma: automatic listening port re-activationdrivers/nvme/target/rdma.c+136 -872 replies
1/3nvmet-rdma: automatic listening port re-activation+0 -00 replies
2/3nvmet: Add fabrics ops to portdrivers/nvme/target/core.c drivers/nvme/target/nvmet.h+5 -50 replies
3/3nvmet: Add port transport active flagdrivers/nvme/target/configfs.c drivers/nvme/target/core.c drivers/nvme/target/nvmet.h +1 more+28 -01 reply
3/3nvmet: Add port transport active flag+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH rfc 0/3] nvmet-rdma automatic port re-activation

When a RDMA device goes away we must destroy all it's associated RDMA resources. RDMa device resets also manifest as device removal events and a short while after they come back. We want to re-activate a port listener on this RDMA device when it comes back in to the system.

In order to make it happen, we save the RDMA device node_guid on a ULP listener representation (nvmet_rdma_port) and when a RDMA device comes into the system, we check if there is a listener port that needs to be re-activated.

In addition, reflect the port state to the sysadmin.

Israel Rukshin (2):
nvmet: Add fabrics ops to port
nvmet: Add port transport active flag

Sagi Grimberg (1):
nvmet-rdma: automatic listening port re-activation

 drivers/nvme/target/configfs.c |  10 ++
 drivers/nvme/target/core.c     |  17 ++-
 drivers/nvme/target/nvmet.h    |   3 +
 drivers/nvme/target/rdma.c     | 231 +++++++++++++++++++++++++----------------
 4 files changed, 169 insertions(+), 92 deletions(-)
Signature · 1 line
2.14.1