freebsd-dev/sys/cddl
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
..
boot/zfs Bug 212114 - loader: zio_checksum_verify() must test spa for NULL pointer 2016-08-24 16:30:15 +00:00
compat/opensolaris ifndef atomic_cas_* in cddl code in preparation for native implementations 2016-12-06 14:08:49 +00:00
contrib/opensolaris Postpone ZVOL media/block size caching till first open. 2016-12-11 19:50:39 +00:00
dev Don't create FBT probes for lock owner methods. 2016-12-10 03:13:11 +00:00