1
0
Fork 0
alistair23-linux/drivers/nvme
Sagi Grimberg a889cd3d35 nvme-tcp: avoid repeated request completion
[ Upstream commit 0a8a2c85b8 ]

The request may be executed asynchronously, and rq->state may be
changed to IDLE. To avoid repeated request completion, only
MQ_RQ_COMPLETE of rq->state is checked in nvme_tcp_complete_timed_out.
It is not safe, so need adding check IDLE for rq->state.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:20:24 +01:00
..
host nvme-tcp: avoid repeated request completion 2020-11-18 19:20:24 +01:00
target nvmet: fix a NULL pointer dereference when tracing the flush command 2020-11-10 12:37:30 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00