OpenCloudOS-Kernel/drivers/nvme/host
Daniel Wagner ce86dad222 nvme-multipath: reset bdev to ns head when failover
When a request finally completes in end_io() after it has failed over,
the bdev pointer can be stale and thus the system can crash. Set the
bdev back to ns head, so the request is map to an active path when
resubmitted.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-05-04 09:39:23 +02:00
..
Kconfig nvme-tcp: fix kconfig dependency warning when !CRYPTO 2020-09-15 07:58:49 +02:00
Makefile nvme: move the ioctl code to a separate file 2021-04-15 08:12:55 +02:00
core.c nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
fabrics.c nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
fabrics.h nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c nvme-hwmon: Return error code when registration fails 2021-03-05 13:41:03 +01:00
ioctl.c nvme: fix controller ioctl through ns_head 2021-05-04 09:35:47 +02:00
lightnvm.c for-5.13/drivers-2021-04-27 2021-04-28 14:39:37 -07:00
multipath.c nvme-multipath: reset bdev to ns head when failover 2021-05-04 09:39:23 +02:00
nvme.h nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
pci.c nvme-pci: fix controller reset hang when racing with nvme_timeout 2021-05-04 09:35:50 +02:00
rdma.c nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
tcp.c nvme: move the fabrics queue ready check routines to core 2021-05-04 09:35:49 +02:00
trace.c nvme: add tracing of zns commands 2021-02-02 10:26:12 +01:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00
zns.c nvme: let namespace probing continue for unsupported features 2021-04-15 08:12:56 +02:00