On 11/4/22 16:19, Mike Christie wrote:
This simplifies sd_spinup_disk so scsi-ml retries errors for it. Note that we retried specifically on a UA and also if scsi_status_is_good returned failed which would happen for all check conditions. In this patch we use SCMD_FAILURE_STAT_ANY which will trigger for the same conditions as when scsi_status_is_good returns false. This will cover all CCs including UAs so there is no explicit failures arrary entry for UAs. We do not handle the outside loop's retries because we want to sleep between tried and we don't support that yet.
tried -> tries? Anyway: Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>