Skip to contentSkip to conversation

fix crash and deadlock when connect timeout

PATCH In review Chao Leng 1 participant 1 message Aug 20, 2020

Subsystems (2)
lore
Share & tools
lore

Chao Leng

author
#0 lore raw

cover 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