DragonFly commits List (threaded) for 2004-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern src/sys/sys
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]