linux/drivers/scsi/mpt2sas
Sreekanth Reddy d2227f7374 mpt2sas: map log_info value 0x0x32010081 to DID_RESET
For any SCSI command, if the driver receives IOC status =
SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be
completed with DID_RESET host status.

The definition of this log info value is "Virtual IO has failed and has
to be retried".

Firmware will provide this log info value with IOC Status
"SCSI_IOC_TERMINATED", whenever a drive (with is a part of a volume)
is pulled and pushed back within some minimal delay.  With this log info
value, firmware informs the driver to retry the failed IO command
infinite times, so to provide some time for the firmware to discover
the reinserted drive successfully instated of just retrying failed
command for five times( doesn't giving enough time for firmware to
complete the drive discovery) and failing the IO permanently even
though drive came back successfully.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-13 16:27:27 +01:00
..
mpi mpt2sas: MPI2 Rev BB (2.00.20) specification and 2.00.35 header files 2015-01-13 16:27:25 +01:00
Kconfig mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
Makefile
mpt2sas_base.c mpt2sas, mpt3sas: fix upper bound for the module parameter max_sgl_entries 2015-01-13 16:27:26 +01:00
mpt2sas_base.h mpt2sas: Bump driver version to 19.100.00.00 2015-01-13 16:27:25 +01:00
mpt2sas_config.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt2sas_ctl.c mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_ctl.h Merge Linus' tree to be be to apply submitted patches to newer code than 2014-11-20 14:42:02 +01:00
mpt2sas_debug.h mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_scsih.c mpt2sas: map log_info value 0x0x32010081 to DID_RESET 2015-01-13 16:27:27 +01:00
mpt2sas_transport.c Revert "[SCSI] mpt2sas: Remove phys on topology change." 2014-12-04 09:58:33 +01:00