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
F114862903: D48688.id149975.diff
Thu, Apr 17, 8:20 PM
F114861660: D48688.id.diff
Thu, Apr 17, 7:56 PM
F114861539: D48688.id149975.diff
Thu, Apr 17, 7:53 PM
F114854816: D48688.id.diff
Thu, Apr 17, 5:51 PM
F114847823: D48688.diff
Thu, Apr 17, 3:16 PM
Unknown Object (File)
Sun, Apr 13, 12:59 AM
Unknown Object (File)
Mar 11 2025, 5:29 AM
Unknown Object (File)
Feb 26 2025, 6:59 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