[PATCHv2-4.5 07/10] NVMe: Simplify device reset failure

Christoph Hellwig hch at infradead.org
Sat Feb 13 01:21:02 PST 2016


On Thu, Feb 11, 2016 at 01:05:44PM -0700, Keith Busch wrote:
> A reset failure schedules the device to unbind from the driver through
> the pci driver's 'remove'. This already cleans up all intialization
> from a partial or completed state, so there is no need to duplicate the
> cleanup that could potentially race with a pci hot removal.
> 
> To help understand why a reset failed, the status is logged with the
> existing warning message.
> 
> Signed-off-by: Keith Busch <keith.busch at intel.com>
> Reviewed-by: Johannes Thumshirn <jthumshirn at suse.de>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list