diff options
author | Keith Busch <keith.busch@intel.com> | 2017-02-10 18:15:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 09:30:36 +0200 |
commit | 02b23e059a9d4b862ea97c6f425a147c7780f212 (patch) | |
tree | 39b141fdf8501d83db2a9f1a4089034f3173c229 /drivers/hwspinlock | |
parent | a5e39a7f298546ee714b714f858e5255d5cafae8 (diff) | |
download | linux-stable-02b23e059a9d4b862ea97c6f425a147c7780f212.tar.gz linux-stable-02b23e059a9d4b862ea97c6f425a147c7780f212.tar.bz2 linux-stable-02b23e059a9d4b862ea97c6f425a147c7780f212.zip |
nvme/pci: Disable on removal when disconnected
commit 6db28eda266052f86a6b402422de61eeb7d2e351 upstream.
If the device is not present, the driver should disable the queues
immediately. Prior to this, the driver was relying on the watchdog timer
to kill the queues if requests were outstanding to the device, and that
just delays removal up to one second.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions