freebsd-dev/sys/boot/userboot
Toomas Soome b91aad35da loader: remove open_disk cache
As we provide the disk size verification and correction via disk_ioctl
and disk state provided by disk_open(), we can not share the partition
state in disk_devdesc structure. Also the sharing does make a lot of sense
with ufs, as only one partition is open at any given time, but zfs pools
do keep the disk devices open.

To make sure we do get the correct information about the open device,
just remove the cache.

Reviewed by:	allanjude, smh
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D9757
2017-03-16 12:04:43 +00:00
..
ficl Add SHA512, skein, large blocks support for loader zfs. 2016-08-18 00:37:07 +00:00
libstand DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
test Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
userboot loader: remove open_disk cache 2017-03-16 12:04:43 +00:00
zfs Disable loop unrolling in skein for sys/boot 2016-10-06 03:32:30 +00:00
Makefile ZFS boot support for bhyveload. 2014-02-22 07:18:06 +00:00
userboot.h Add vm_set_register() and vm_set_desc() callbacks. These callbacks 2016-02-26 16:00:16 +00:00