linux/drivers/scsi/mpt3sas
Sreekanth Reddy 3898f08e8c mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081
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>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-08-27 11:08:29 -07:00
..
mpi mpt3sas: MPI 2.5 Rev K (2.5.6) specifications 2015-08-27 11:08:28 -07:00
Kconfig mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c mpt3sas: Add branding string support for OEM custom HBA 2015-08-27 11:08:27 -07:00
mpt3sas_base.h mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081 2015-08-27 11:08:29 -07:00
mpt3sas_config.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_ctl.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_ctl.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_debug.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_scsih.c mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081 2015-08-27 11:08:29 -07:00
mpt3sas_transport.c mpt3sas: Don't block the drive when drive addition under the control of SML 2015-08-27 11:08:23 -07:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00