freebsd-dev/sys/boot/i386
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
..
boot0 Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
boot0sio META_MODE: Remove DEP_MACHINE from Makefile.depend files. 2015-09-25 19:44:01 +00:00
boot2 Remove unused macro from common/drv.c. 2017-02-25 18:14:32 +00:00
btx loader: disk io should not use alloca() 2017-02-06 18:44:15 +00:00
cdboot cdboot: add explict suffix to ambiguous or instruction 2016-12-28 23:02:01 +00:00
common Remove unused macro from common/drv.c. 2017-02-25 18:14:32 +00:00
gptboot LIBSTAND goes last, so put it last here too. 2016-10-26 05:26:59 +00:00
gptzfsboot zfsbootcfg: a simple tool to set next boot (one time) options for zfsboot 2016-10-29 14:09:32 +00:00
kgzldr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
libfirewire dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
libi386 loader: remove open_disk cache 2017-03-16 12:04:43 +00:00
loader loader: use strip -o instead of cp and strip in place 2016-12-28 04:55:43 +00:00
mbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pmbr Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
pxeldr dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
zfsboot dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
zfsloader DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
boot.ldscript Don't use -N to set the OMAGIC with data and text writeable and data 2016-09-03 15:26:28 +00:00
Makefile Restore kgzldr on i386 only 2016-02-08 16:59:52 +00:00
Makefile.inc Back out the move to the loader script from -N. This should fix the 2016-10-26 05:26:58 +00:00