Page MenuHomeFreeBSD

cam/da: Add some comments about 28/0 asc
ClosedPublic

Authored by imp on Feb 4 2025, 6:36 PM.
Tags
None
Referenced Files
F115648496: D48839.diff
Sat, Apr 26, 1:09 PM
Unknown Object (File)
Mon, Apr 21, 9:50 PM
Unknown Object (File)
Mon, Apr 21, 4:54 PM
Unknown Object (File)
Sun, Apr 20, 11:56 AM
Unknown Object (File)
Sat, Apr 19, 5:22 PM
Unknown Object (File)
Fri, Apr 18, 1:48 PM
Unknown Object (File)
Fri, Apr 18, 9:39 AM
Unknown Object (File)
Thu, Apr 17, 8:18 PM
Subscribers
None

Details

Summary

We don't set the PACK_INVALID flag in response to asc 28/0 "NOT READY
TO READY CHANGE, MEDIUM MAY HAVE CHANGED". Explain why: we usally
retry this (since it's a UNIT ATTENTION) and it works and/or it's
before daopen. In addition, improve the comment about the asysnc unit
attention to make it a little more understandable. This is likely
sufficient (it's been since before FreeBSD 3.0 when this hack was put
in). Ideally, we'd verify what medium is there, but knowing when it's
the same is a bit tricky...

Diff Detail

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