Page MenuHomeFreeBSD

cam/da: Only mark pack as valid if we know the size in daopen
Needs ReviewPublic

Authored by imp on Sat, Jan 25, 8:10 PM.

Details

Reviewers
mav
chs
ken
Group Reviewers
cam
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62031
Build 58915: arc lint + arc unit