aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2017-10-10 13:11:18 +0000
committerMartin K. Petersen <[email protected]>2017-10-11 18:08:07 +0000
commit2ce9a3645299ba1752873d333d73f67620f4550b (patch)
treeeec15dccdf554a36e9cd1371824c80aa1654b381 /drivers/scsi/mpt3sas/mpi/mpi2_init.h
parentscsi: mpt3sas: Fix removal and addition of vSES device during host reset (diff)
downloadkernel-2ce9a3645299ba1752873d333d73f67620f4550b.tar.gz
kernel-2ce9a3645299ba1752873d333d73f67620f4550b.zip
scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive
Whenever an I/O for a RAID volume fails with IOCStatus MPI2_IOCSTATUS_SCSI_IOC_TERMINATED and SCSIStatus equal to (MPI2_SCSI_STATE_TERMINATED | MPI2_SCSI_STATE_NO_SCSI_STATUS) then return the I/O to SCSI midlayer with "DID_RESET" (i.e. retry the IO infinite times) set in the host byte. Previously, the driver was completing the I/O with "DID_SOFT_ERROR" which causes the I/O to be quickly retried. However, firmware needed more time and hence I/Os were failing. Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions