diff options
author | 2021-05-03 19:03:03 +0200 | |
---|---|---|
committer | 2021-05-04 09:39:23 +0200 | |
commit | ce86dad222e9074d3ec174ec81cb463a770331b5 (patch) | |
tree | 1fe8534498736515b24ad6719dece49bdd3cd760 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | nvme-pci: fix controller reset hang when racing with nvme_timeout (diff) | |
download | wireguard-linux-ce86dad222e9074d3ec174ec81cb463a770331b5.tar.xz wireguard-linux-ce86dad222e9074d3ec174ec81cb463a770331b5.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions