cvs commit: src/sys/kern kern_lock.c vfs_default.c src/sys/sys buf.h lockmgr.h src/sys/ufs/ffs ffs_vnops.c

Attilio Rao attilio at
Fri Feb 15 13:04:37 PST 2008

attilio     2008-02-15 21:04:37 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c vfs_default.c 
    sys/sys              buf.h lockmgr.h 
    sys/ufs/ffs          ffs_vnops.c 
  - Introduce lockmgr_args() in the lockmgr space.  This function performs
    the same operation of lockmgr() but accepting a custom wmesg, prio and
    timo for the particular lock instance, overriding default values
    lkp->lk_wmesg, lkp->lk_prio and lkp->lk_timo.
  - Use lockmgr_args() in order to implement BUF_TIMELOCK()
  - Cleanup BUF_LOCK()
  - Remove LK_INTERNAL as it is nomore used in the lockmgr namespace
  Tested by:      Andrea Barberio <insomniac at slackware dot it>
  Revision  Changes    Path
  1.125     +44 -24    src/sys/kern/kern_lock.c
  1.141     +2 -1      src/sys/kern/vfs_default.c
  1.201     +5 -31     src/sys/sys/buf.h
  1.63      +15 -5     src/sys/sys/lockmgr.h
  1.178     +5 -3      src/sys/ufs/ffs/ffs_vnops.c

More information about the cvs-src mailing list