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
Unknown Object (File)
Wed, Sep 16, 11:56 AM
Unknown Object (File)
Sun, Aug 30, 2:49 PM
Unknown Object (File)
Sat, Aug 29, 5:18 AM
Unknown Object (File)
Wed, Aug 26, 9:45 PM
Unknown Object (File)
Wed, Aug 26, 9:22 AM
Unknown Object (File)
Wed, Aug 19, 3:26 PM
Unknown Object (File)
Aug 14 2026, 6:53 PM
Unknown Object (File)
Aug 11 2026, 11:02 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