HomeFreeBSD

loader: implement mount/unmount rootfs

Description

loader: implement mount/unmount rootfs

We want to keep our root file system open to preserve bcache segment
between file accesses, thus reducing physical disk IO.

Reviewed by: imp, allanjude, kevans (previous version)
Differential Revision: https://reviews.freebsd.org/D30848
MFC after: 1 month

(cherry picked from commit b4cb3fe0e39a31e60292018dc9fb7510b3de92bf)

Details

Provenance
tsoomeAuthored on Aug 12 2021, 5:45 AM
manuCommitted on Jan 13 2022, 7:58 AM
Reviewer
imp
Differential Revision
D30848: loader: implement mount/unmount rootfs
Parents
rG4003cdd81b87: loader: ip: Do not call getsecs so much
Branches
Unknown
Tags
Unknown