Page MenuHomeFreeBSD

cam/da: Only mark pack as valid if we know the size in daopen
ClosedPublic

Authored by imp on Jan 25 2025, 8:10 PM.
Tags
None
Referenced Files
F111054306: D48688.id150725.diff
Wed, Feb 26, 6:59 PM
Unknown Object (File)
Mon, Feb 24, 5:38 PM
Unknown Object (File)
Tue, Feb 18, 9:18 PM
Unknown Object (File)
Sat, Feb 8, 9:43 PM
Unknown Object (File)
Sat, Feb 8, 8:32 AM
Unknown Object (File)
Thu, Feb 6, 4:50 AM
Unknown Object (File)
Wed, Feb 5, 5:33 AM
Unknown Object (File)
Tue, Feb 4, 2:10 AM
Subscribers
None

Details

Summary

Only mark the pack as 'valid' (eg clear the invalid bit) when we know
the size of the underlying drive and the periph hasn't been
invalidated. Previously, we'd unconditionally clear this bit, but
if the size isn't known, no I/O to the drive is possible.

Sponsored by: Netflix

Diff Detail

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