[PATCHv2 0/2] nvme: short-circuit connection retries

Hannes Reinecke hare at suse.de
Thu Jul 14 23:33:54 PDT 2022


Hi all,

here are two patches updating nvme-tcp and nvme-rdma transport
to modifications we've already have in nvme-fc with commit
f25f8ef70ce2 ("nvme-fc: short-circuit reconnect retries").
Gist is to short-circuit reconnection retries if we get a
status back with the DNR bit set, in which case we shouldn't
retry the connection attempt.

As usual, comments and reviews are welcome.

Changes to the original version:
- Rework with suggestions from Sagi

Hannes Reinecke (2):
  nvme-tcp: short-circuit connect retries
  nvme-rdma: short-circuit connect retries

 drivers/nvme/host/rdma.c | 20 +++++++++++++++++---
 drivers/nvme/host/tcp.c  | 21 ++++++++++++++++++---
 2 files changed, 35 insertions(+), 6 deletions(-)

-- 
2.29.2




More information about the Linux-nvme mailing list