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)
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
Unknown Object (File)
Fri, Jan 31, 10:02 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