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
File | Mode | Size |
---|---|---|
events | ||
xen-pciback | ||
xenbus | ||
xenfs | ||
Kconfig | -rw-r--r-- | 11.5 KB |
Makefile | -rw-r--r-- | 1.7 KB |
acpi.c | -rw-r--r-- | 2.7 KB |
arm-device.c | -rw-r--r-- | 4.2 KB |
balloon.c | -rw-r--r-- | 19.4 KB |
biomerge.c | -rw-r--r-- | 617 bytes |
cpu_hotplug.c | -rw-r--r-- | 2.3 KB |
dbgp.c | -rw-r--r-- | 1.2 KB |
efi.c | -rw-r--r-- | 8.5 KB |
evtchn.c | -rw-r--r-- | 16.1 KB |
features.c | -rw-r--r-- | 1.2 KB |
gntalloc.c | -rw-r--r-- | 14.8 KB |
gntdev-common.h | -rw-r--r-- | 2.2 KB |
gntdev-dmabuf.c | -rw-r--r-- | 20.1 KB |
gntdev-dmabuf.h | -rw-r--r-- | 943 bytes |
gntdev.c | -rw-r--r-- | 27.5 KB |
grant-dma-iommu.c | -rw-r--r-- | 1.7 KB |
grant-dma-ops.c | -rw-r--r-- | 8.2 KB |
grant-table.c | -rw-r--r-- | 41.5 KB |
manage.c | -rw-r--r-- | 8.3 KB |
mcelog.c | -rw-r--r-- | 10.2 KB |
mem-reservation.c | -rw-r--r-- | 3.1 KB |
pci.c | -rw-r--r-- | 7.4 KB |
pcpu.c | -rw-r--r-- | 8.4 KB |
platform-pci.c | -rw-r--r-- | 4.1 KB |
privcmd-buf.c | -rw-r--r-- | 4.1 KB |
privcmd.c | -rw-r--r-- | 22.4 KB |
privcmd.h | -rw-r--r-- | 180 bytes |
pvcalls-back.c | -rw-r--r-- | 29.8 KB |
pvcalls-front.c | -rw-r--r-- | 32.0 KB |
pvcalls-front.h | -rw-r--r-- | 826 bytes |
swiotlb-xen.c | -rw-r--r-- | 11.5 KB |
sys-hypervisor.c | -rw-r--r-- | 12.5 KB |
time.c | -rw-r--r-- | 4.2 KB |
unpopulated-alloc.c | -rw-r--r-- | 5.5 KB |
xen-acpi-pad.c | -rw-r--r-- | 3.7 KB |
xen-acpi-processor.c | -rw-r--r-- | 16.9 KB |
xen-balloon.c | -rw-r--r-- | 7.1 KB |
xen-front-pgdir-shbuf.c | -rw-r--r-- | 14.2 KB |
xen-scsiback.c | -rw-r--r-- | 48.4 KB |
xlate_mmu.c | -rw-r--r-- | 7.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...