From owner-cvs-sys Fri Mar 1 20:41:10 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA08332 for cvs-sys-outgoing; Fri, 1 Mar 1996 20:41:10 -0800 (PST) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA08302 Fri, 1 Mar 1996 20:40:58 -0800 (PST) Date: Fri, 1 Mar 1996 20:40:58 -0800 (PST) From: John Dyson Message-Id: <199603020440.UAA08302@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c vfs_cluster.c Sender: owner-cvs-sys@FreeBSD.ORG Precedence: bulk dyson 96/03/01 20:40:58 Modified: sys/kern vfs_bio.c vfs_cluster.c Log: 1) Fix a bug that a buffer is removed from a queue, but the queue type is not set to QUEUE_NONE. This appears to have caused a hang bug that has been lurking. 2) Fix bugs that brelse'ing locked buffers do not "free" them, but the code assumes so. This can cause hangs when LFS is used. 3) Use malloced memory for directories when applicable. The amount of malloced memory is seriously limited, but should decrease the amount of memory used by an average directory to 1/4 - 1/2 previous. This capability is fully tunable. (Note that there is no config parameter, and might never be.) 4) Bias slightly the buffer cache usage towards non-VMIO buffers. Since the data in VMIO buffers is not lost when the buffer is reclaimed, this will help performance. This is adjustable also. Revision Changes Path 1.86 +121 -25 src/sys/kern/vfs_bio.c 1.35 +3 -3 src/sys/kern/vfs_cluster.c