linux/drivers/nvme/host
Keith Busch 4888f9fc03 nvme-pci: fix timeout request state check
[ Upstream commit 1c58420858 ]

Polling the completion can progress the request state to IDLE, either
inline with the completion, or through softirq. Either way, the state
may not be COMPLETED, so don't check for that. We only care if the state
isn't IN_FLIGHT.

This is fixing an issue where the driver aborts an IO that we just
completed. Seeing the "aborting" message instead of "polled" is very
misleading as to where the timeout problem resides.

Fixes: bf392a5dc0 ("nvme-pci: Remove tag from process cq")
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:34:25 +01:00
..
apple.c nvme-apple: don't limit DMA segement size 2022-10-19 10:36:39 +02:00
auth.c
constants.c
core.c nvme: also return I/O command effects from nvme_command_effects 2023-01-12 12:02:42 +01:00
fabrics.c
fabrics.h
fault_inject.c
fc.c nvme: pass nr_maps explicitly to nvme_alloc_io_tag_set 2022-12-31 13:32:25 +01:00
fc.h
hwmon.c nvme-hwmon: kmalloc the NVME SMART log buffer 2022-10-19 12:43:13 +02:00
ioctl.c for-6.1/block-2022-10-03 2022-10-07 09:19:14 -07:00
Kconfig
Makefile
multipath.c block: handle bio_split_to_limits() NULL return 2023-01-18 11:58:33 +01:00
nvme.h nvme: fix multipath crash caused by flush request when blktrace is enabled 2023-01-12 12:02:39 +01:00
pci.c nvme-pci: fix timeout request state check 2023-02-01 08:34:25 +01:00
rdma.c nvme: pass nr_maps explicitly to nvme_alloc_io_tag_set 2022-12-31 13:32:25 +01:00
tcp.c nvme: pass nr_maps explicitly to nvme_alloc_io_tag_set 2022-12-31 13:32:25 +01:00
trace.c
trace.h
zns.c