NVMe: Start and stop h/w queues on reset
authorKeith Busch <keith.busch@intel.com>
Thu, 8 Jan 2015 01:55:52 +0000 (18:55 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 8 Jan 2015 16:02:20 +0000 (09:02 -0700)
commitc9d3bf8810514b1d32b49254a8f3485f36380eed
tree086d04b656a7aa59aae4e5b8915ea503eb54f27f
parentcef6a948271d5437f96e731878f2e9cb8c9820b7
NVMe: Start and stop h/w queues on reset

This freezes and stops all the queues on device shutdown and restarts
them on resume. This fixes hotplug and reset issues when the controller
is actively being used.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c