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>
(cherry picked from commit
de3eff2bad56f0a29d3915105223d368f2bbc94e)
Conflicts:
drivers/block/nvme-core.c
Orabug:
21569452
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>