HomeFreeBSD

Don't retry SAS commands in response to protocol errors

Description

Don't retry SAS commands in response to protocol errors

sys/dev/mpr/mpr_sas_lsi.c
sys/dev/mps/mps_sas_lsi.c
When mp[rs]sas_get_sata_identify returns
MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR, don't bother retrying. Protocol
errors aren't likely to be fixed by sleeping.

Without this change, a system that generated may protocol errors due
to signal integrity issues was taking more than an hour to boot, due
to all the retries.

Reviewed by: slm
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D4553

Details

Provenance
asomersAuthored on
Reviewer
slm
Differential Revision
D4553: Don't retry MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR.
Parents
rS292217: Update advice on obj disk space requirements
Branches
Unknown
Tags
Unknown