zfs/cmd
Brian Behlendorf e07306687d Enable /etc/mtab cache to improve performance
Re-enable the /etc/mtab cache to prevent the zfs command from
having to repeatedly open and read from the /etc/mtab file.
Instead an AVL tree of the mounted filesystems is created and
used to vastly speed up lookups. This means that if non-zfs
filesystems are mounted concurrently the 'zfs mount' will not
immediately detect them.  In practice that will rarely happen
and even if it does the absolute worst case would be a failed
mount.  This was originally disabled out of an abundance of
paranoia.

NOTE: There may still be some parts of the code which do not
consult the mtab cache.  They should be updated to check the
mtab cache as they as discovered to be a problem.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Issue #845
2014-01-07 09:48:09 -08:00
..
arcstat Python 3 fixes 2013-11-08 14:30:29 -08:00
dbufstat Python 3 fixes 2013-11-08 14:30:29 -08:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Add full SELinux support 2013-12-19 10:37:31 -08:00
vdev_id Fix multipath bug in vdev_id caused by inconsistent field numbering 2013-12-10 09:58:35 -08:00
zdb cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zfs Enable /etc/mtab cache to improve performance 2014-01-07 09:48:09 -08:00
zhack Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zinject Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
zpios cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zpool cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zstreamdump Add missing libzfs_core to Makefiles 2013-11-20 15:44:15 -08:00
ztest cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
zvol_id cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Add dbufstat.py command 2013-10-25 14:52:45 -07:00