From owner-freebsd-commit Sun Nov 19 11:55:47 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21676 for freebsd-commit-outgoing; Sun, 19 Nov 1995 11:55:47 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21653 for cvs-all-outgoing; Sun, 19 Nov 1995 11:55:40 -0800 Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21641 for cvs-sys-outgoing; Sun, 19 Nov 1995 11:55:37 -0800 Received: (from dyson@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA21618 ; Sun, 19 Nov 1995 11:55:29 -0800 Date: Sun, 19 Nov 1995 11:55:29 -0800 From: John Dyson Message-Id: <199511191955.LAA21618@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk dyson 95/11/19 11:55:28 Modified: sys/kern vfs_cluster.c vfs_bio.c sys/sys buf.h Log: General fixes to the vfs clustring code: 1) Make cluster buffer list be a non-malloced chain. This eliminates yet another 'evil' M_WAITOK and generally cleans up the code. 2) Fix write clustering for ext2fs. It was just broken. Also, ffs clustering had an efficiency problem that more bawrites were happening than should have been. 3) Make changes to buf.h to support the above, plus remove b_pfcent at the request of David Greenman. Reviewed by: davidg (partially) Modified: sys/ufs/ffs ffs_alloc.c Log: General fixes to the vfs clustring code: 1) Make cluster buffer list be a non-malloced chain. This eliminates yet another 'evil' M_WAITOK and generally cleans up the code. 2) Fix write clustering for ext2fs. It was just broken. Also, ffs clustering had an efficiency problem that more bawrites were happening than should have been. 3) Make changes to buf.h to support the above, plus remove b_pfcent at the request of David Greenman. Note that the reallocblocks code is disabled pending rewrite for the cluster buffer list changes.