cvs commit: src/sys/kern vfs_subr.c
Don Lewis
truckman at FreeBSD.org
Thu Jul 1 17:00:36 PDT 2004
truckman 2004-07-01 23:59:19 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_subr.c
Log:
When shutting down the syncer kernel thread, first tell it to run
faster and iterate to over its work list a few times in an attempt
to empty the work list before the syncer terminates. This leaves
fewer dirty blocks to be written at the "syncing disks" stage and
keeps the the "giving up on N buffers" problem from being triggered
by the presence of a large soft updates work list at system shutdown
time. The downside is that the syncer takes noticeably longer to
terminate.
Tested by: "Arjan van Leeuwen" <avleeuwen AT piwebs DOT com>
Approved by: mckusick
Revision Changes Path
1.495 +68 -6 src/sys/kern/vfs_subr.c
More information about the cvs-all
mailing list