cvs commit: src/sys/kern vfs_bio.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Oct 24 10:15:56 PDT 2005
dillon 2005/10/24 10:14:04 PDT
DragonFly src repository
Modified files:
sys/kern vfs_bio.c
Log:
Add two checks for potential buffer cache races.
"Warning buffer %p (vp %p lblkno %d) was recycled"
Occurs if a buffer is recycled unexpectedly. The code will print this
warning and retry if it detects the case.
"Warning invalid buffer %p (vp %p lblkno %d) did not have cleared b_blkno cache"
Occurs if a B_INVAL buffer's b_blkno cache has not been reset. The
code will reset the cache if it detects this case.
Revision Changes Path
1.50 +24 -3 src/sys/kern/vfs_bio.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.49&r2=1.50&f=u
More information about the Commits
mailing list