DragonFly-2.3.1.831.g42cd5 master sys/vfs/hammer hammer_inode.c hammer_vnops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jul 13 20:51:06 PDT 2009


commit 42cd5131b0bc761c49ab4d67fc5cf88a4c03be8b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 13 20:46:45 2009 -0700

    HAMMER - Add MPSAFE suppor for hammer_vop_read().
    
    This is still a bit of a hack.  If vfs.read_mpsafe is set HAMMER will
    run MPSAFE for reads from regular files which are cached in the buffer
    cache.  Data which is not cached will fall-back to getting the MP lock.
    
    At the moment enabling this operation will cause atime to not get updated
    on fully cached files, because the rest of HAMMER is not MPSAFE yet so I
    cannot modify the internal hammer_inode state.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c |    6 +++++
 sys/vfs/hammer/hammer_vnops.c |   46 ++++++++++++++++++++++++++++++++++------
 2 files changed, 45 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/42cd5131b0bc761c49ab4d67fc5cf88a4c03be8b


-- 
DragonFly BSD source repository





More information about the Commits mailing list