Page MenuHomeFreeBSD

da: Stop the probing when periph invalidated in dadone_proberc
Needs ReviewPublic

Authored by imp on Jul 28 2026, 9:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 24, 8:36 PM
Unknown Object (File)
Fri, Aug 14, 11:38 PM
Unknown Object (File)
Fri, Aug 14, 11:38 PM
Unknown Object (File)
Fri, Aug 14, 11:24 PM
Unknown Object (File)
Thu, Aug 13, 12:22 AM
Unknown Object (File)
Tue, Aug 11, 12:29 PM
Unknown Object (File)
Tue, Aug 11, 6:59 AM
Unknown Object (File)
Mon, Aug 10, 3:58 PM
Subscribers
None

Details

Reviewers
ken
mav
chs
jfree
Group Reviewers
cam
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75245
Build 72128: arc lint + arc unit