Page MenuHomeFreeBSD

camcontrol: Simplfiy 12-byte retry logic in defects command
ClosedPublic

Authored by imp on Jun 13 2023, 9:25 PM.
Tags
None
Referenced Files
F150517691: D40522.id123175.diff
Wed, Apr 1, 10:45 PM
F150447707: D40522.id123175.diff
Wed, Apr 1, 7:10 AM
Unknown Object (File)
Tue, Mar 31, 10:22 PM
Unknown Object (File)
Sun, Mar 22, 2:11 AM
Unknown Object (File)
Sat, Mar 21, 9:53 PM
Unknown Object (File)
Tue, Mar 17, 3:14 AM
Unknown Object (File)
Wed, Mar 4, 5:04 PM
Unknown Object (File)
Feb 27 2026, 11:20 PM
Subscribers
None

Details

Summary

We always start out using the 10-byte version of READ DEFECT DATA, and
then switch to 12-byte when necessary due to errors or data length
requirements. We always need to get the length again when we do this,
and we're always going to be using 12-byte commands from that point
forward. Simplify the logic a bit based on this observation.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52031
Build 48922: arc lint + arc unit