|
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).
|