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)
Sun, Jun 9, 5:57 PM
Unknown Object (File)
Mar 12 2024, 6:55 PM
Unknown Object (File)
Jan 14 2024, 9:05 AM
Unknown Object (File)
Dec 20 2023, 3:52 AM
Unknown Object (File)
Dec 8 2023, 1:11 AM
Unknown Object (File)
Oct 15 2023, 9:31 AM
Unknown Object (File)
Oct 15 2023, 9:31 AM
Unknown Object (File)
Sep 30 2023, 5:37 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