]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Failed controller initialization fixes
authorKeith Busch <keith.busch@intel.com>
Thu, 18 Jun 2015 19:36:39 +0000 (13:36 -0600)
committerJens Axboe <axboe@fb.com>
Sat, 27 Jun 2015 17:42:53 +0000 (11:42 -0600)
commit6e85adce684eab38c8f1db24efa9c2d03d3a3509
tree628ca789a3036a36fd1600f4ae511cfbb3aa1e0e
parent119a472cbb77d33ae1c4d7e7f2b5821a5b3c85d4
NVMe: Failed controller initialization fixes

This fixes an infinite device reset loop that may occur on devices that
fail initialization. If the drive fails to become ready for any reason
that does not involve an admin command timeout, the probe task should
assume the drive is unavailable and remove it from the topology. In
the case an admin command times out during device probing, the driver's
existing reset action will handle removing the drive.

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