git: umount - Remove sync() call from utility

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Nov 6 08:44:29 PDT 2010


commit 136e843fb06cb9682ff05052bf187c08124ec4c2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Nov 6 08:41:02 2010 -0700

    umount - Remove sync() call from utility
    
    * Do not call sync() unconditionally when issuing the /sbin/umount command.
      Let the kernel take care of any syncing.
    
    * This may allow umount -f to operate better in situations where a mount
      might be stuck (such as a NFS mount), and also removes delays associated
      with scanning large numbers of vnodes on x86_64.

Summary of changes:
 sbin/umount/umount.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/136e843fb06cb9682ff05052bf187c08124ec4c2


-- 
DragonFly BSD source repository





More information about the Commits mailing list