git: kernel - Remove remaining mplock use cases from tmpfs

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Feb 20 21:10:57 PST 2013


commit aa1adbf0f3aad9f5b7161d3c66ddad5313a5692d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Feb 20 21:07:00 2013 -0800

    kernel - Remove remaining mplock use cases from tmpfs
    
    * Use the per-mount lock for remaining cases, including nremove,
      truncate, and other operations.
    
    * Also fixes machine stalls against pings when removing very
      large files.
    
    Submitted-by: vsrinivas

Summary of changes:
 sys/net/ipfw/ip_fw2.c        |   2 -
 sys/vfs/tmpfs/tmpfs.h        |  40 +++++------
 sys/vfs/tmpfs/tmpfs_subr.c   |  18 ++---
 sys/vfs/tmpfs/tmpfs_vfsops.c |  99 +++++++++++++++-----------
 sys/vfs/tmpfs/tmpfs_vnops.c  | 165 ++++++++++++++++++++++++++++++++++++-------
 5 files changed, 222 insertions(+), 102 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list