Date: Sun, 24 Feb 2008 16:38:58 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 ... Message-ID: <200802241638.m1OGcwU0053917@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802241638.m1OGcwU0053917>