TencentOS-kernel/drivers/nvme/host
Chao Leng 0812243c58 nvme-tcp: add clean action for failed reconnection
[ Upstream commit 70a99574a79f1cd4dc7ad56ea37be40844bfb97b ]

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: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-12 12:52:48 +08:00
..
Kconfig nvme-tcp: fix kconfig dependency warning when !CRYPTO 2021-03-16 16:37:35 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
core.c nvme-core: add cancel tagset helpers 2021-04-12 12:52:48 +08:00
fabrics.c nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance 2021-03-16 16:35:56 +08:00
fabrics.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
fault_inject.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
fc.c nvme-fc: fail new connections to a deleted host or remote port 2021-03-16 16:37:47 +08:00
lightnvm.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
multipath.c nvme-multipath: Early exit if no path is available 2021-04-12 12:51:47 +08:00
nvme.h nvme-core: add cancel tagset helpers 2021-04-12 12:52:48 +08:00
pci.c nvme-pci: fix error unwind in nvme_map_data 2021-04-12 12:52:43 +08:00
rdma.c nvme-rdma: add clean action for failed reconnection 2021-04-12 12:52:48 +08:00
tcp.c nvme-tcp: add clean action for failed reconnection 2021-04-12 12:52:48 +08:00
trace.c Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
trace.h Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00