mirror_zfs/lib
James H 5333eb0b3b Call exportfs -v once for NFS shares.
At the moment we call exportfs -v every time we check whether an
NFS share is active. This happens every time you run a zfs or
zpool command, making them extremely slow when you have a lot of
exports. The time taken is approx O(n2) of the number of shares.

This commit stores the output from exportfs -v in a temporary file
and use this to speed up subsequent accesses.

This mechanism is still too slow - if you have tens of thousands
of NFS shares it will still be painful running ANY zfs/zpool
command.

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #341
2011-08-01 13:50:40 -07:00
..
libavl Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libefi Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libnvpair Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libshare Call exportfs -v once for NFS shares. 2011-08-01 13:50:40 -07:00
libspl Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libunicode Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libuutil Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libzfs Illumos #278: get rid zfs of python and pyzfs dependencies 2011-08-01 12:09:36 -07:00
libzpool Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
Makefile.am Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
Makefile.in Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00