[PATCH 0/3] fix crash and deadlock when connect timeout

Chao Leng lengchao at huawei.com
Wed Aug 19 23:53:44 EDT 2020


When we test nvme over roce with link blink, deadlock and crash happen.
To fix the bug we need set the flag:NVME_REQ_CANCELLED for io which is
canceled by host. This is conflict with error translation of
nvme_revalidate_disk, so we need improve the error translation of
nvme_revalidate_disk first.

Chao Leng (3):
  nvme-core: improve avoiding false remove namespace
  nvme-core: fix deadlock when reconnect failed due to
    nvme_set_queue_count timeout
  nvme-core: fix crash when nvme_enable_aen timeout

 drivers/nvme/host/core.c    | 21 ++++++++++++++-------
 drivers/nvme/host/fabrics.c |  1 +
 2 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.16.4




More information about the Linux-nvme mailing list