OpenSolaris

Printable Version Enter a New Search
Bug ID 6572357
Synopsis libzfs should do more to avoid mnttab lookups
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:zfs
Keywords bopmail-exception | zfs-perf
Responsible Engineer Eric Taylor
Reported Against solaris_10u6
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:2176238)
Related Bugs 6596146 , 6763592 , 6790687 , 6791611
Submit Date 21-June-2007
Last Update Date 3-August-2009
Description
When booting a system with a large number of datasets, "zfs mount -a"
ends up spending a large portion of its time doing getmntany(3c), which
is a linear search.

Prototyping a mechanism where mnttab data is cached reduces the time to
mount all filesystems significantly.  On a 280R with 6000 filesystems the
time to mount the filesystems drops from 15 minutes to less than five
minutes.
Work Around
N/A
Comments
N/A