HomeFreeBSD

Do not retry long ready waits if previous gave nothing.

Description

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.

MFC after: 2 weeks
Sponsored by: iXsystems, Inc.

Details

Committed
mavFri, Nov 22, 9:31 PM
Parents
rS355022: random(4): De-export random_sources list
Branches
Unknown
Tags
Unknown