public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/6] nvme-fc: fix blktests nvme/041
@ 2024-02-19 13:15 Daniel Wagner
  2024-02-19 13:15 ` [PATCH v1 1/6] nvme-fabrics: introduce connect_sync option Daniel Wagner
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Daniel Wagner @ 2024-02-19 13:15 UTC (permalink / raw)
  To: James Smart
  Cc: Keith Busch, Christoph Hellwig, Sagi Grimberg, Hannes Reinecke,
	linux-nvme, linux-kernel, Daniel Wagner

I've dropped the rport ref counting change in the main patch and gave it another
round of testing. This time with dev_loss_tmo active with SCSI and NVME enabled
on the same rport. Nothing exploded, all resources were released correctly.

I am not so happy with the 'connect_sync' name yet (patch #1) but we still have
to agree on that offloading the initial connect attemp is correct. James and
Hannes are strongly in favour for this approach as far I can tell.

changes:
v1:
 - renamed 'nvme-fc: redesign locking and refcounting'
   to 'nvme-fc: reorder ctrl ref counting and cleanup code path'
 - testing with scsi/nvme dev_loss_tmo on real hw
 - removed rport ref counting part
 - collected RB tags
v0:
 - initial version
 - https://lore.kernel.org/linux-nvme/20240216084526.14133-1-dwagner@suse.de/

Daniel Wagner (6):
  nvme-fabrics: introduce connect_sync option
  nvme-fc: rename free_ctrl callback to match name pattern
  nvme-fc: do not retry when auth fails or connection is refused
  nvme-fabrics: introduce ref counting for nvmf_ctrl_options
  nvme-fc: reorder ctrl ref counting and cleanup code path
  nvme-fc: wait for connect attempt to finish

 drivers/nvme/host/fabrics.c |  28 ++++++-
 drivers/nvme/host/fabrics.h |   9 ++-
 drivers/nvme/host/fc.c      | 145 +++++++++++++++++-------------------
 drivers/nvme/host/rdma.c    |  18 +++--
 drivers/nvme/host/tcp.c     |  21 ++++--
 drivers/nvme/target/loop.c  |  19 +++--
 6 files changed, 141 insertions(+), 99 deletions(-)

-- 
2.43.1



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

end of thread, other threads:[~2024-02-20  5:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 13:15 [PATCH v1 0/6] nvme-fc: fix blktests nvme/041 Daniel Wagner
2024-02-19 13:15 ` [PATCH v1 1/6] nvme-fabrics: introduce connect_sync option Daniel Wagner
2024-02-19 18:44   ` Keith Busch
2024-02-20  5:53     ` Christoph Hellwig
2024-02-19 13:15 ` [PATCH v1 2/6] nvme-fc: rename free_ctrl callback to match name pattern Daniel Wagner
2024-02-19 13:15 ` [PATCH v1 3/6] nvme-fc: do not retry when auth fails or connection is refused Daniel Wagner
2024-02-19 13:15 ` [PATCH v1 4/6] nvme-fabrics: introduce ref counting for nvmf_ctrl_options Daniel Wagner
2024-02-19 13:15 ` [PATCH v1 5/6] nvme-fc: reorder ctrl ref counting and cleanup code path Daniel Wagner
2024-02-19 13:15 ` [PATCH v1 6/6] nvme-fc: wait for connect attempt to finish Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox