From owner-cvs-all@FreeBSD.ORG  Sun Feb 24 16:38:58 2008
Return-Path: <owner-cvs-all@FreeBSD.ORG>
Delivered-To: cvs-all@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D2E9216A405;
	Sun, 24 Feb 2008 16:38:58 +0000 (UTC)
	(envelope-from attilio@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
	[IPv6:2001:4f8:fff6::29])
	by mx1.freebsd.org (Postfix) with ESMTP id ADEEB13C4DB;
	Sun, 24 Feb 2008 16:38:58 +0000 (UTC)
	(envelope-from attilio@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1OGcwNd053918;
	Sun, 24 Feb 2008 16:38:58 GMT
	(envelope-from attilio@repoman.freebsd.org)
Received: (from attilio@localhost)
	by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1OGcwU0053917;
	Sun, 24 Feb 2008 16:38:58 GMT (envelope-from attilio)
Message-Id: <200802241638.m1OGcwU0053917@repoman.freebsd.org>
From: Attilio Rao <attilio@FreeBSD.org>
Date: Sun, 24 Feb 2008 16:38:58 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/sys/contrib/opensolaris/uts/common/fs/zfs
 zfs_znode.c src/sys/fs/nwfs
 nwfs_node.c src/sys/fs/pseudofs pseudofs_vncache.c
 src/sys/fs/smbfs smbfs_node.c src/sys/gnu/fs/xfs/FreeBSD
 xfs_freebsd_iget.c src/sys/kern vfs_lookup.c src/sys/netncp ...
X-BeenThere: cvs-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-all>
List-Post: <mailto:cvs-all@freebsd.org>
List-Help: <mailto:cvs-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 24 Feb 2008 16:38:58 -0000

attilio     2008-02-24 16:38:58 UTC

  FreeBSD src repository

  Modified files:
    sys/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c 
    sys/fs/nwfs          nwfs_node.c 
    sys/fs/pseudofs      pseudofs_vncache.c 
    sys/fs/smbfs         smbfs_node.c 
    sys/gnu/fs/xfs/FreeBSD xfs_freebsd_iget.c 
    sys/kern             vfs_lookup.c 
    sys/netncp           ncp_conn.c 
    sys/nfsclient        nfs_node.c 
    sys/sys              vnode.h 
    sys/ufs/ffs          ffs_softdep.c ffs_vfsops.c 
  Log:
  Introduce some functions in the vnode locks namespace and in the ffs
  namespace in order to handle lockmgr fields in a controlled way instead
  than spreading all around bogus stubs:
  - VN_LOCK_AREC() allows lock recursion for a specified vnode
  - VN_LOCK_ASHARE() allows lock sharing for a specified vnode
  
  In FFS land:
  - BUF_AREC() allows lock recursion for a specified buffer lock
  - BUF_NOREC() disallows recursion for a specified buffer lock
  
  Side note: union_subr.c::unionfs_node_update() is the only other function
  directly handling lockmgr fields. As this is not simple to fix, it has
  been left behind as "sole" exception.
  
  Revision  Changes    Path
  1.13      +4 -4      src/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
  1.42      +1 -1      src/sys/fs/nwfs/nwfs_node.c
  1.41      +1 -1      src/sys/fs/pseudofs/pseudofs_vncache.c
  1.37      +1 -1      src/sys/fs/smbfs/smbfs_node.c
  1.4       +1 -1      src/sys/gnu/fs/xfs/FreeBSD/xfs_freebsd_iget.c
  1.106     +1 -1      src/sys/kern/vfs_lookup.c
  1.32      +1 -1      src/sys/netncp/ncp_conn.c
  1.88      +2 -2      src/sys/nfsclient/nfs_node.c
  1.330     +3 -0      src/sys/sys/vnode.h
  1.217     +6 -3      src/sys/ufs/ffs/ffs_softdep.c
  1.336     +2 -2      src/sys/ufs/ffs/ffs_vfsops.c