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
Unknown Object (File)
Wed, Apr 1, 5:22 PM
Unknown Object (File)
Sat, Mar 21, 9:26 PM
Unknown Object (File)
Mon, Mar 16, 4:45 PM
Unknown Object (File)
Mon, Mar 16, 7:29 AM
Unknown Object (File)
Wed, Mar 11, 9:55 AM
Unknown Object (File)
Sat, Mar 7, 12:40 AM
Unknown Object (File)
Mar 1 2026, 8:22 PM
Unknown Object (File)
Mar 1 2026, 1:12 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 Not Applicable
Unit
Tests Not Applicable