]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: implement mount/unmount rootfs
authorToomas Soome <tsoome@FreeBSD.org>
Thu, 12 Aug 2021 05:45:52 +0000 (08:45 +0300)
committerToomas Soome <tsoome@FreeBSD.org>
Wed, 8 Sep 2021 01:01:20 +0000 (04:01 +0300)
commitb4cb3fe0e39a31e60292018dc9fb7510b3de92bf
treedf930aa46831d65bd291028da6d4032698a82e3d
parentc90cab0d668af5d947054e47184d4f8dcb874ec8
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
27 files changed:
stand/common/bootstrap.h
stand/common/misc.c
stand/efi/boot1/zfs_module.c
stand/efi/libefi/devicename.c
stand/efi/loader/main.c
stand/i386/gptzfsboot/Makefile
stand/i386/libi386/devicename.c
stand/i386/loader/main.c
stand/i386/zfsboot/Makefile
stand/i386/zfsboot/zfsboot.c
stand/libofw/devicename.c
stand/libsa/Makefile
stand/libsa/cd9660.c
stand/libsa/dosfs.c
stand/libsa/mount.c [new file with mode: 0644]
stand/libsa/netif.c
stand/libsa/stand.h
stand/libsa/ufs.c
stand/libsa/zfs/zfs.c
stand/libsa/zfs/zfsimpl.c
stand/mips/beri/loader/devicename.c
stand/powerpc/kboot/main.c
stand/powerpc/ofw/main.c
stand/uboot/common/main.c
stand/uboot/lib/devicename.c
stand/userboot/userboot/devicename.c
stand/userboot/userboot/main.c