DragonFly commits List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Add argument to nvtruncbuf()
commit 753df37eb58e35e1d577c069e1975f131caf97d7
Author: Matthew Dillon <dillon@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]