summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.clean
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2019-01-23 18:46:11 -0700
committerChristoph Hellwig <hch@lst.de>2019-02-06 16:35:33 +0100
commit5c959d73dba6495ec01d04c206ee679d61ccb2b0 (patch)
treed71d5b7665464c904c72b4715f1ba60bf7fdc0b6 /scripts/Makefile.clean
parente7ad43c3eda6a1690c4c3c341f95dc1c6898da83 (diff)
downloadblackbird-op-linux-5c959d73dba6495ec01d04c206ee679d61ccb2b0.tar.gz
blackbird-op-linux-5c959d73dba6495ec01d04c206ee679d61ccb2b0.zip
nvme-pci: fix rapid add remove sequence
A surprise removal may fail to tear down request queues if it is racing with the initial asynchronous probe. If that happens, the remove path won't see the queue resources to tear down, and the controller reset path may create a new request queue on a removed device, but will not be able to make forward progress, deadlocking the pci removal. Protect setting up non-blocking resources from a shutdown by holding the same mutex, and transition to the CONNECTING state after these resources are initialized so the probe path may see the dead controller state before dispatching new IO. Link: https://bugzilla.kernel.org/show_bug.cgi?id=202081 Reported-by: Alex Gagniuc <Alex_Gagniuc@Dellteam.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Tested-by: Alex Gagniuc <mr.nuke.me@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/Makefile.clean')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud