]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Failed controller initialization fixes
authorKeith Busch <keith.busch@intel.com>
Thu, 6 Aug 2015 18:07:24 +0000 (11:07 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 7 Aug 2015 18:21:07 +0000 (11:21 -0700)
commit6f09ea9c7080aa2a894fba779b796d560158e794
tree0997dcc47f0f78bc5d3c8656a4e44011f53b8e83
parent3da3038dde77dfb59a7f044580d6aa3e978346e4
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>
drivers/block/nvme-core.c