DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: umount - Remove sync() call from utility


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 6 Nov 2010 08:43:10 -0700 (PDT)

commit 136e843fb06cb9682ff05052bf187c08124ec4c2
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]