Skip to content

Add duplicate_connect option for ctlr connect requests

James Smart linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

split compare for hostnqn, hostid, subnqn to a helper function duplicate_connection converted to a boolean option (presence means true)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvme: add duplicate_connect optiondrivers/nvme/host/fabrics.c drivers/nvme/host/fabrics.h+8 -11 reply
2/4nvme: add helper to compare options to controllerdrivers/nvme/host/fabrics.h+12 -01 reply
3/4nvme_fc: add support for duplicate_connect optiondrivers/nvme/host/fc.c+33 -02 replies
4/4nvme-rdma: add support for duplicate_connect optiondrivers/nvme/host/rdma.c+82 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Add duplicate_connect option for ctlr connect requests

This patch adds a duplicate_connect option option to those supported by fabric connection requests. When set to true (1), duplicate connections are allowed. When set to false (0), duplicate connections are rejected.

The option is set in the fabrics layer and acted upon by each transport.

This patch set came about as of this prior patch review:
http://lists.infradead.org/pipermail/linux-nvme/2017-September/012783.html

---
v2:
split compare for hostnqn, hostid, subnqn to a helper function duplicate_connection converted to a boolean option (presence means true)

James Smart (4):
nvme: add duplicate_connect option
nvme: add helper to compare options to controller
nvme_fc: add support for duplicate_connect option
RFC: nvme-rdma: add support for duplicate_connect option

 drivers/nvme/host/fabrics.c |  7 +++-
 drivers/nvme/host/fabrics.h | 14 ++++++++
 drivers/nvme/host/fc.c      | 33 ++++++++++++++++++
 drivers/nvme/host/rdma.c    | 82 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 135 insertions(+), 1 deletion(-)
Signature · 1 line
2.13.1