git: DragonFly_RELEASE_4_6 mountd, mount - Change how mount signals mountd, reduce mountd spam
dillon at crater.dragonflybsd.org
Mon Jul 25 14:35:34 PDT 2016
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jul 25 11:18:57 2016 -0700
mountd, mount - Change how mount signals mountd, reduce mountd spam
* mount now signals mountd with SIGUSR1 instead of SIGHUP.
* mountd now recognizes SIGUSR1 as requesting an incremental update.
Instead of wiping all exports on all mounts and then re-scanning
the exports file and re-adding from the exports file, mountd will
now only wipe the export(s) on mounts it finds in the exports file.
* Greatly reduces unnecessary mountlist scans and commands due to
mount_null and mount_tmpfs operations, while still preserving our
ability to export such filesystems.
Summary of changes:
sbin/mount/mount.c | 2 +-
sbin/mountd/mountd.c | 108 +++++++++++++++++++++++++++++++++------------------
2 files changed, 71 insertions(+), 39 deletions(-)
DragonFly BSD source repository
More information about the Commits