From owner-freebsd-current Fri Mar 17 11: 3:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id EC86537BC5D for ; Fri, 17 Mar 2000 11:03:49 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id UAA05703 for ; Fri, 17 Mar 2000 20:03:44 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org Subject: patches for test / review From: Poul-Henning Kamp Date: Fri, 17 Mar 2000 20:03:43 +0100 Message-ID: <5701.953319823@critter.freebsd.dk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have two patches up for test at http://phk.freebsd.dk/misc I'm looking for reviews and tests, in particular vinum testing would be nice since Grog is quasi-offline at the moment. Poul-Henning 20000317 BWRITE-STRATEGY.patch This patch is machine generated except for the ccd.c and buf.h parts. Rename existing BUF_STRATEGY to DEV_STRATEGY substitute BUF_WRITE(foo) for VOP_BWRITE(foo->b_vp, foo); substitute BUF_STRATEGY(foo) for VOP_STRATEGY(foo->b_vp, foo); Please test & review. 20000317 b_iocmd.patch This patch removes B_READ, B_WRITE and B_FREEBUF and replaces them with a new field in struct buf: b_iocmd. B_WRITE was bogusly defined as zero giving rise to obvious coding mistakes and a lot of code implicitly knew this. This patch also eliminates the redundant flag B_CALL, it can just as efficiently be done by comparing b_iodone to NULL. Should you get a panic or drop into the debugger, complaining about "b_iocmd", don't continue, it is likely to write where it should have read. Please test & review. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message