Re: [PATCH 05/10] mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive

From: Tomas Henzl
Date: Wed Oct 11 2017 - 11:37:49 EST


On 10/10/2017 03:11 PM, Sreekanth Reddy wrote:
> Whenever IO for 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 IO to SML with "DID_RESET"
> (i.e. retry the IO infinite times) host bytes.
>
> Earlier driver is returning the IO with "DID_SOFT_ERROR"
> that reties the IO quickly for five times but still
> firmware needed some more time and hence IOs were failing.
>
> Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@xxxxxxxxxxxx>

Signed-off-by: Tomas Henzl <thenzl@xxxxxxxxxx>
Tomas