HomeFreeBSD

MFC r355023: Do not retry long ready waits if previous gave nothing.

Description

MFC r355023: Do not retry long ready waits if previous gave nothing.

I have some disks reporting "Logical unit is in process of becoming ready"
for about half an hour before finally reporting failure. During that time
CAM waits for the readiness during ~2 minutes for each request, that makes
system boot take very long time.

This change reduces wait times for the following requests to ~1 second if
previously long wait for that device has timed out.

Details

Provenance
mavAuthored on
Parents
rS355340: ctau.c: convert from KOI8-R to UTF-8 encoding
Branches
Unknown
Tags
Unknown