From owner-cvs-all Sun Jan 9 16: 7:29 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 627B314FFD; Sun, 9 Jan 2000 16:07:27 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Received: (from mckusick@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA36962; Sun, 9 Jan 2000 16:07:27 -0800 (PST) (envelope-from mckusick@FreeBSD.org) Message-Id: <200001100007.QAA36962@freefall.freebsd.org> From: Kirk McKusick Date: Sun, 9 Jan 2000 16:07:27 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mckusick 2000/01/09 16:07:26 PST Modified files: sys/kern vfs_subr.c Log: Remove the P_BUFEXHAUST flag from the syncer process (leaving it only on the buf_daemon process). The problem is that when the syncer process starts running the worklist, it wants to delete lots of files. It does this by VFS_VGET'ing the vnodes, clearing the blocks in them and bdwrite'ing the buffer. It can process close to a thousand files per second which generates a large number of dirty buffers. So, giving it special priviledge at the buffer trough leads to trouble as the buf_daemon does occationally need a free buffer to proceed and if the syncer has used every last one up, we are toast. Revision Changes Path 1.244 +1 -3 src/sys/kern/vfs_subr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message