Page MenuHomeFreeBSD

da: Stop the probing when periph invalidated in dadone_proberc
ClosedPublic

Authored by imp on Jul 28 2026, 9:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 11:02 AM
Unknown Object (File)
Sun, Sep 20, 11:01 AM
Unknown Object (File)
Sat, Sep 19, 5:19 AM
Unknown Object (File)
Fri, Sep 18, 7:53 PM
Unknown Object (File)
Wed, Sep 16, 2:03 PM
Unknown Object (File)
Tue, Sep 8, 11:01 AM
Unknown Object (File)
Tue, Sep 8, 7:50 AM
Unknown Object (File)
Tue, Sep 8, 2:51 AM
Subscribers
None

Details

Summary

When READ CAPACITY fails, we call cam_periph_invalidate() for some
hopeless ASC/ASCQ combinations and then fall through to test the cache
state. This results in excess commands to the abandoned device that may
take a while to timeout and/or report confusing errors. Instead, call
daprobedone() when the periph is invalid to terminate the probe.

Fixes: d78d04b17cb24
Sponsored by: Netflix
MFC After: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable