From owner-cvs-all@FreeBSD.ORG Fri Jul 2 00:00:36 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E77016A4CE; Fri, 2 Jul 2004 00:00:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4885043D41; Fri, 2 Jul 2004 00:00:36 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i61NxJ0b000361; Thu, 1 Jul 2004 23:59:19 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i61NxJLL000360; Thu, 1 Jul 2004 23:59:19 GMT (envelope-from truckman) Message-Id: <200407012359.i61NxJLL000360@repoman.freebsd.org> From: Don Lewis Date: Thu, 1 Jul 2004 23:59:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 00:00:36 -0000 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" Approved by: mckusick Revision Changes Path 1.495 +68 -6 src/sys/kern/vfs_subr.c