NVMe: Shutdown controller only for power-off
Keith Busch authored
BugLink: http://bugs.launchpad.net/bugs/1531539



We don't need to shutdown a controller for a reset. A controller in a
shutdown state may take longer to become ready than one that was simply
disabled. This patch has the driver shut down a controller only if the
device is about to be powered off or being removed. When taking the
controller down for a reset reason, the controller will be disabled
instead.

Function names have been updated in this patch to reflect their changed
semantics.
Signed-off-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
(cherry picked from commit a5cdb68c

)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
bd06d14f
Name Last commit Last update
..
Kconfig
Makefile
core.c
lightnvm.c
nvme.h
pci.c
scsi.c