git: kernel - Add argument to nvtruncbuf()

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 20 15:11:00 PDT 2012


commit 753df37eb58e35e1d577c069e1975f131caf97d7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 20 15:10:02 2012 -0700

    kernel - Add argument to nvtruncbuf()
    
    * Add a 'trivial' arg to nvtruncbuf() that works similarly to
      nvextendbuf().
    
      This will allow hammer2 to tell nvtruncbuf() not to mess with the
      buffer that overlaps EOF, so hammer2 can mess with it atomically.

Summary of changes:
 sys/kern/vfs_vm.c             |    8 ++++++--
 sys/sys/vnode.h               |    3 ++-
 sys/vfs/hammer/hammer_inode.c |    2 +-
 sys/vfs/hammer/hammer_vnops.c |    6 ++++--
 sys/vfs/nfs/nfs_bio.c         |    2 +-
 sys/vfs/puffs/puffs_node.c    |    2 +-
 sys/vfs/tmpfs/tmpfs_subr.c    |    2 +-
 sys/vfs/ufs/ffs_inode.c       |    2 +-
 8 files changed, 17 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/753df37eb58e35e1d577c069e1975f131caf97d7


-- 
DragonFly BSD source repository





More information about the Commits mailing list