Skip to content

fix crash and deadlock when connect timeout

Chao Leng linux-block linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme-core: improve avoiding false remove namespacedrivers/nvme/host/core.c+3 -37 replies
2/3nvme-core: fix deadlock when reconnect failed due to nvme_set_queue_count timeoutdrivers/nvme/host/core.c drivers/nvme/host/fabrics.c+2 -03 replies
3/3nvme-core: fix crash when nvme_enable_aen timeoutdrivers/nvme/host/core.c+10 -44 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.16.4