cvs commit: src/sys/kern src/sys/sys

Matthew Dillon dillon at
Tue Nov 9 09:37:42 PST 2004

dillon      2004/11/09 09:36:42 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
    sys/sys              buf2.h 
  Create a non-blocking version of BUF_REFCNT() called BUF_REFCNTNB() to be
  used for non-critical KASSERT()'s or in situations where the buffer lock
  is in a known state.
  This fixes a blocking condition in the ATA interrupt path.  The normal
  BUF_REFCNT() calls lockcount() which obtains a token which caused the
  interrupt thread to temporarily block in biodone() due to a KASSERT.
  Found-from: kernel core provided by David Rhodus.
  Revision  Changes    Path
  1.32      +17 -9     src/sys/kern/vfs_bio.c
  1.8       +16 -8     src/sys/sys/buf2.h

More information about the Commits mailing list