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)
Tue, Apr 22, 2:12 AM
Unknown Object (File)
Mon, Apr 21, 2:56 PM
Unknown Object (File)
Fri, Apr 18, 9:13 AM
Unknown Object (File)
Thu, Apr 17, 8:20 PM
Unknown Object (File)
Thu, Apr 17, 7:56 PM
Unknown Object (File)
Thu, Apr 17, 7:53 PM
Unknown Object (File)
Thu, Apr 17, 5:51 PM
Unknown Object (File)
Thu, Apr 17, 3:16 PM
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