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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 25 11:21:43 PDT 2016


commit ce1bcb9eb5054c9724ab75be37e5f78f6f8f1b48
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/ce1bcb9eb5054c9724ab75be37e5f78f6f8f1b48


-- 
DragonFly BSD source repository


More information about the Commits mailing list