Revision 41d07df7de841bfbc32725ce21d933ad358f2844 authored by Sagi Grimberg on 26 June 2022, 09:24:51 UTC, committed by Christoph Hellwig on 29 June 2022, 14:13:45 UTC
queue stoppage and inflight requests cancellation is fully fenced from
io_work and thus failing a request from this context. Hence we don't
need to try to guess from the socket retcode if this failure is because
the queue is about to be torn down or not.

We are perfectly safe to just fail it, the request will not be cancelled
later on.

This solves possible very long shutdown delays when the users issues a
'nvme disconnect-all'

Reported-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent ed0691c
History
File Mode Size
Kconfig -rw-r--r-- 1.5 KB
Makefile -rw-r--r-- 134 bytes
cec.c -rw-r--r-- 13.5 KB
debugfs.c -rw-r--r-- 1.1 KB
debugfs.h -rw-r--r-- 191 bytes
ras.c -rw-r--r-- 1.1 KB

back to top