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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  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


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf2.h.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list