Page MenuHomeFreeBSD

camcontrol: Add support for -r XX to set reserved bits in defects
AbandonedPublic

Authored by imp on Jun 13 2023, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 1 2024, 5:19 PM
Unknown Object (File)
Sep 25 2024, 5:32 PM
Unknown Object (File)
Sep 24 2024, 12:28 AM
Unknown Object (File)
Sep 21 2024, 6:38 AM
Unknown Object (File)
Sep 17 2024, 4:13 PM
Unknown Object (File)
Sep 17 2024, 12:25 AM
Unknown Object (File)
Sep 16 2024, 7:43 PM
Unknown Object (File)
Sep 7 2024, 9:12 PM
Subscribers
None

Details

Reviewers
ken
mav
Summary

Some drives can return additional defect information by setting
the higher order bits in byte 2 of the READ DEFECT DATA commands
(both of them). Allow these to be set.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jun 13 2023, 9:26 PM
imp created this revision.

If you have use for it...

This revision is now accepted and ready to land.Jun 15 2023, 2:06 PM
In D40525#923414, @mav wrote:

If you have use for it...

I believe I have a use for it... Once that's confirmed by putting it into production I'll push this in. If it turns out to be a dry well, I'll keep it in reserve for the future.

I'm letting this one linger a bit... It's unclear if $WORK needs this feature or not, so leaving
open for now.

This turns out not to be needed for the thing the vendor was telling me to do. Their firmware didn't behave like they thought it would, and the solution is along a different path. So, rather than add a useless feature, I'm punting.