summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2018-10-15 10:19:06 -0600
committerChristoph Hellwig <hch@lst.de>2018-10-17 09:07:11 +0200
commitcb4bfda62afa25b4eee3d635d33fccdd9485dd7c (patch)
tree2c251cd30f1f497555069d7545d91bbade70d703 /tools/perf/scripts/python
parent1216e9ef18b84f4fb5934792368fb01eb3540520 (diff)
downloadlinux-cb4bfda62afa25b4eee3d635d33fccdd9485dd7c.tar.gz
linux-cb4bfda62afa25b4eee3d635d33fccdd9485dd7c.tar.bz2
linux-cb4bfda62afa25b4eee3d635d33fccdd9485dd7c.zip
nvme-pci: fix hot removal during error handling
A removal waits for the reset_work to complete. If a surprise removal occurs around the same time as an error triggered controller reset, and reset work happened to dispatch a command to the removed controller, the command won't be recovered since the timeout work doesn't do anything during error recovery. We wouldn't want to wait for timeout handling anyway, so this patch fixes this by disabling the controller and killing admin queues prior to syncing with the reset_work. Signed-off-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions