I saw a situation where the driver set CAM_AUTOSNS_VALID on a failed ccb
even though SRB_STATUS_AUTOSENSE_VALID was not set in the status.
The actual sense data remained all zeros.
The problem seems to be that create_storvsc_request() always sets
hv_storvsc_request::sense_info_len, so checking for sense_info_len != 0
is not enough to determine if any auto-sense data is actually available.
Details
Details
- Reviewers
whu decui_microsoft.com imp - Commits
- rG8afecefd57c5: storvsc: fix auto-sense reporting
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 39027 Build 35916: arc lint + arc unit
Event Timeline
Comment Actions
The cam part of this looks good. Don't know if that's the right bit to test, but it sure sounds like it