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, Oct 15, 7:40 AM
Unknown Object (File)
Wed, Sep 24, 11:45 PM
Unknown Object (File)
Wed, Sep 24, 3:10 AM
Unknown Object (File)
Thu, Sep 18, 7:29 PM
Unknown Object (File)
Wed, Sep 17, 12:54 PM
Unknown Object (File)
Sep 16 2025, 10:36 AM
Unknown Object (File)
Sep 15 2025, 5:52 AM
Unknown Object (File)
Sep 10 2025, 7:20 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