mbox series

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

Message ID 20230530094322.258090-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series nvme: add nvme_delete_dead_ctrl for avoiding io deadlock | expand

Message

Ming Lei May 30, 2023, 9:43 a.m. UTC
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(-)