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
F131854595: D40522.diff
Sat, Oct 11, 5:41 PM
Unknown Object (File)
Fri, Oct 3, 11:42 PM
Unknown Object (File)
Wed, Oct 1, 4:22 AM
Unknown Object (File)
Mon, Sep 29, 3:57 PM
Unknown Object (File)
Mon, Sep 29, 3:48 AM
Unknown Object (File)
Fri, Sep 26, 5:01 AM
Unknown Object (File)
Sun, Sep 14, 12:44 PM
Unknown Object (File)
Sep 9 2025, 9:10 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 Not Applicable
Unit
Tests Not Applicable