OpenSolaris

Printable Version Enter a New Search
Bug ID 6572376
Synopsis zfs_iter_filesystems and zfs_iter_snapshots get objset stats twice
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords zfs-perf
Responsible Engineer Eric Taylor
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105) , solaris_10u8(s10u8_03) (Bug ID:2176237)
Related Bugs
Submit Date 21-June-2007
Last Update Date 17-December-2008
Description
zfs_iter_filesystems and zfs_iter_snapshots first do a
ZFS_IOC_{DATASET,SNAPSHOT}_LIST_NEXT ioctl (which fills
in the statistics), and then another ZFS_IOC_OBJSET_STATS
ioctl.  We can eliminate the second ioctl, which appears
to shave about five percent off the elapsed time to mount
filesystems (and also cuts more than ten percent off the
system time).
Work Around
N/A
Comments
N/A