git: DragonFly_RELEASE_4_6 mountd, mount - Change how mount signals mountd, reduce mountd spam

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 25 14:35:34 PDT 2016


commit b2e83c943ea77370d4a0a2f5b23a6addac76e053
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2e83c943ea77370d4a0a2f5b23a6addac76e053


-- 
DragonFly BSD source repository


More information about the Commits mailing list