From 8a1845e49f56720cbfccd4c7f5f80ba5b980fdf4 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Tue, 27 Nov 2001 05:27:13 +0000 Subject: Merge in the unified buffer cache code as found in NetBSD 2001/03/10. The code is written mostly by Chuck Silvers /. Tested for the past few weeks by many developers, should be in a pretty stable state, but will require optimizations and additional cleanups. --- sys/dev/vnd.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c index b2935e0edba..6f8c268a283 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnd.c,v 1.28 2001/11/15 23:15:15 art Exp $ */ +/* $OpenBSD: vnd.c,v 1.29 2001/11/27 05:27:11 art Exp $ */ /* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */ /* @@ -558,10 +558,6 @@ vndstrategy(bp) nbp->vb_buf.b_proc = bp->b_proc; nbp->vb_buf.b_iodone = vndiodone; nbp->vb_buf.b_vp = vp; - nbp->vb_buf.b_dirtyoff = bp->b_dirtyoff; - nbp->vb_buf.b_dirtyend = bp->b_dirtyend; - nbp->vb_buf.b_validoff = bp->b_validoff; - nbp->vb_buf.b_validend = bp->b_validend; LIST_INIT(&nbp->vb_buf.b_dep); /* save a reference to the old buffer */ -- cgit v1.2.3