From owner-cvs-sys Sun Jun 15 10:59:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA19179 for cvs-sys-outgoing; Sun, 15 Jun 1997 10:59:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA19130; Sun, 15 Jun 1997 10:57:34 -0700 (PDT) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA06743; Sun, 15 Jun 1997 10:56:54 -0700 (PDT) Date: Sun, 15 Jun 1997 10:56:54 -0700 (PDT) Message-Id: <199706151756.KAA06743@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/ufs/lfs lfs_bio.c lfs_segment.c src/sys/kern vfs_bio.c vfs_cluster.c src/sys/gnu/ext2fs ext2_linux_ialloc.c src/sys/sys buf.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1997/06/15 10:56:53 PDT Modified files: sys/ufs/lfs lfs_bio.c lfs_segment.c sys/kern vfs_bio.c vfs_cluster.c sys/gnu/ext2fs ext2_linux_ialloc.c sys/sys buf.h Log: Fix a problem with the VN device. Specifically, the VN device can cause a problem of spiraling death due to buffer resource limitations. The vfs_bio code in general had little ability to handle buffer resource management, and now it does. Also, there are a lot more knobs for tuning the vfs_bio code now. The knobs came free because of the need that there always be some immediately available buffers (non-delayed or locked) for use. Note that the buffer cache code is much less likely to get bogged down with lots of delayed writes, even more so than before. Revision Changes Path 1.13 +2 -1 src/sys/ufs/lfs/lfs_bio.c 1.22 +11 -1 src/sys/ufs/lfs/lfs_segment.c 1.121 +234 -38 src/sys/kern/vfs_bio.c 1.47 +2 -1 src/sys/kern/vfs_cluster.c 1.5 +6 -0 src/sys/gnu/ext2fs/ext2_linux_ialloc.c 1.39 +3 -1 src/sys/sys/buf.h