freebsd-dev/sys/cddl/contrib/opensolaris/uts
Alexander Motin 2823b6467a Postpone ZVOL media/block size caching till first open.
At least on FreeBSD there are no legal way to access media or get its
size without opening device/provider first.  Postponing this caching
allows to skip several disk seeks per ZVOL/snapshot during import.

For HDD pool with 1 ZVOL in dev mode with 1000 snapshots this reduces
pool import time from 40 to 10 seconds.

MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
2016-12-11 19:50:39 +00:00
..
aarch64 First cut of DTrace for AArch64. 2015-07-01 15:51:11 +00:00
arm Initial version of DTrace on ARM32. 2015-02-10 19:41:30 +00:00
common Postpone ZVOL media/block size caching till first open. 2016-12-11 19:50:39 +00:00
intel Support fetching RFLAGS in fasttrap_getreg(). 2016-11-18 03:11:11 +00:00
mips
powerpc Move implementations of uread() and uwrite() to the illumos compat layer. 2016-09-24 21:40:14 +00:00
riscv Add initial DTrace support for RISC-V. 2016-05-24 16:41:37 +00:00