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 ...

Attilio Rao attilio at FreeBSD.org
Sun Feb 24 16:38:58 UTC 2008


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


More information about the cvs-src mailing list