Page MenuHomeFreeBSD

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

Authored by imp on Tue, Jul 28, 9:48 PM.
Tags
None
Referenced Files
F165334700: D58524.diff
Fri, Aug 7, 5:11 PM
F165262603: D58524.id.diff
Fri, Aug 7, 6:32 AM
F165253666: D58524.id182994.diff
Fri, Aug 7, 5:01 AM
Unknown Object (File)
Wed, Aug 5, 7:47 AM
Unknown Object (File)
Wed, Aug 5, 7:45 AM
Unknown Object (File)
Tue, Aug 4, 10:03 PM
Unknown Object (File)
Tue, Aug 4, 5:45 PM
Unknown Object (File)
Mon, Aug 3, 6:28 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