Date: Thu, 1 Jul 2004 17:12:06 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: src-committers@FreeBSD.org Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200407020012.i620C6xd076810@gw.catspoiler.org> In-Reply-To: <200407012359.i61NxJLL000360@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1 Jul, To: src-committers@FreeBSD.org wrote: > 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 This change does not address the "giving up on N buffers" problem associated with shutting down the system with ext2 file systems mounted. I have some ideas for tweaks to the syncer termination code that might allow it to shut down faster.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407020012.i620C6xd076810>