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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Jul 2009 20:49:40 -0700 (PDT)

commit 42cd5131b0bc761c49ab4d67fc5cf88a4c03be8b
Author: Matthew Dillon <dillon@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



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