aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2023-01-18 08:44:16 -0800
committerChristoph Hellwig <[email protected]>2023-01-19 09:08:01 +0100
commit1c5842085851f786eba24a39ecd02650ad892064 (patch)
tree352ee97926f7f9c8a347d8109fbbffdb7607b4b6 /scripts/gdb/linux/config.py
parentc0a4a1eafbd48e02829045bba3e6163c03037276 (diff)
nvme-pci: fix timeout request state check
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: bf392a5dc02a9b ("nvme-pci: Remove tag from process cq") Signed-off-by: Keith Busch <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions