Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 23:59:19 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <200407012359.i61NxJLL000360@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407012359.i61NxJLL000360>