All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add duplicate_connect option for ctlr connect requests
@ 2017-10-20 23:17 James Smart
  2017-10-20 23:17 ` [PATCH v2 1/4] nvme: add duplicate_connect option James Smart
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: James Smart @ 2017-10-20 23:17 UTC (permalink / raw)


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(-)

-- 
2.13.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-10-23  9:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 23:17 [PATCH v2 0/4] Add duplicate_connect option for ctlr connect requests James Smart
2017-10-20 23:17 ` [PATCH v2 1/4] nvme: add duplicate_connect option James Smart
2017-10-23  8:21   ` Johannes Thumshirn
2017-10-20 23:17 ` [PATCH v2 2/4] nvme: add helper to compare options to controller James Smart
2017-10-23  8:31   ` Johannes Thumshirn
2017-10-20 23:17 ` [PATCH v2 3/4] nvme_fc: add support for duplicate_connect option James Smart
2017-10-23  9:27   ` Johannes Thumshirn
2017-10-23  9:28   ` Johannes Thumshirn
2017-10-20 23:17 ` [PATCH v2 4/4] nvme-rdma: " James Smart
2017-10-23  9:30   ` Johannes Thumshirn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.