linux/drivers/nvme
Sagi Grimberg 41d07df7de nvme-tcp: always fail a request when sending it failed
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>
2022-06-29 16:13:45 +02:00
..
host nvme-tcp: always fail a request when sending it failed 2022-06-29 16:13:45 +02:00
target nvmet-tcp: fix regression in data_digest calculation 2022-06-29 16:13:44 +02:00
Kconfig
Makefile