cvs commit: src/sys/kern vfs_bio.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jul 7 10:31:39 PDT 2008
dillon 2008/07/07 10:31:08 PDT
DragonFly src repository
Modified files:
sys/kern vfs_bio.c
Log:
UFS+softupdates can build up thousands of dirty 1K buffers and run out
of buffers before it even hits the lodirtybufspace point. The buf_daemon
is never triggered. This case occurs rarely but can be triggered e.g.
by a cvs update.
Add dirtybufcount back in and flush if it exceeds (nbuf / 2) to handle
this degenerate case.
Reported-by: "Sepherosa Ziehau" <sepherosa at gmail.com>
Revision Changes Path
1.110 +35 -12 src/sys/kern/vfs_bio.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.109&r2=1.110&f=u
More information about the Commits
mailing list