[PATCH 0/2] nvme: add nvme_delete_dead_ctrl for avoiding io deadlock

Ming Lei ming.lei at redhat.com
Tue May 30 02:43:20 PDT 2023


Hello,

The 1st patch adds nvme_delete_dead_ctrl().

The 2nd patch calls it after reconnection fails in tcp/rdma driver, and
fixes one io dead lock.

Ming Lei (2):
  nvme: add API of nvme_delete_dead_ctrl
  nvme: rdma/tcp: call nvme_delete_dead_ctrl for handling reconnect
    failure

 drivers/nvme/host/core.c | 24 +++++++++++++++++++++++-
 drivers/nvme/host/nvme.h |  1 +
 drivers/nvme/host/rdma.c |  2 +-
 drivers/nvme/host/tcp.c  |  2 +-
 4 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.40.1




More information about the Linux-nvme mailing list