Commit 2af7e796 authored by Chao Leng's avatar Chao Leng Committed by Zheng Zengkai
Browse files

nvme-tcp: add clean action for failed reconnection



stable inclusion
from stable-5.10.21
commit 1fdde02e5f34925944fcd00b7a88ce7f7ff4d3a1
bugzilla: 50609

--------------------------------

[ Upstream commit 70a99574 ]

If reconnect failed after start io queues, the queues will be unquiesced
and new requests continue to be delivered. Reconnection error handling
process directly free queues without cancel suspend requests. The
suppend request will time out, and then crash due to use the queue
after free.

Add sync queues and cancel suppend requests for reconnection error
handling.

Signed-off-by: default avatarChao Leng <lengchao@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 77253354
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment