DragonFly-2.3.1.819.g02023 master sys/kern vfs_bio.c vfs_subr.c vfs_sync.c sys/sys vnode.h sys/vfs/gnu/ext2fs ext2_vnops.c sys/vfs/hammer hammer_vnops.c sys/vfs/nfs nfs_subs.c nfs_vnops.c sys/vfs/ufs ffs_rawread.c ffs_softdep.c ufs_vnops.c

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


commit 0202303b67456174b88e4b40807faec651bd38ef
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jul 13 10:55:24 2009 -0700

    buffer cache - Control all access to the buf red-black trees with vp->v_token
    
    Access to the buffer cache's RB trees is now controlled via vp->v_token
    instead of a critical section.  We still hold the BGL but this is not
    quite as simple as it seems because an interrupt calling biodone() on a
    B_INVAL buffer may now potentially block, where as it would not have before.
    The buffer is locked.

Summary of changes:
 sys/kern/vfs_bio.c              |    8 +++-
 sys/kern/vfs_subr.c             |   93 +++++++++++++++++++--------------------
 sys/kern/vfs_sync.c             |   41 ++++++++++-------
 sys/sys/vnode.h                 |    6 +-
 sys/vfs/gnu/ext2fs/ext2_vnops.c |   17 ++++---
 sys/vfs/hammer/hammer_vnops.c   |   12 +++---
 sys/vfs/nfs/nfs_subs.c          |   30 ++++++++-----
 sys/vfs/nfs/nfs_vnops.c         |    4 +-
 sys/vfs/ufs/ffs_rawread.c       |   24 +++++-----
 sys/vfs/ufs/ffs_softdep.c       |   12 +++++
 sys/vfs/ufs/ufs_vnops.c         |   12 +++---
 11 files changed, 144 insertions(+), 115 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0202303b67456174b88e4b40807faec651bd38ef


-- 
DragonFly BSD source repository





More information about the Commits mailing list