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
F175826905: D58524.diff
Tue, Oct 13, 4:56 PM
Unknown Object (File)
Tue, Oct 6, 11:03 AM
Unknown Object (File)
Tue, Oct 6, 1:40 AM
Unknown Object (File)
Sun, Oct 4, 4:05 AM
Unknown Object (File)
Sat, Oct 3, 10:52 PM
Unknown Object (File)
Sat, Oct 3, 5:46 PM
Unknown Object (File)
Sat, Oct 3, 4:12 AM
Unknown Object (File)
Sat, Oct 3, 2:29 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