1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * Modifications/enhancements: 5 * Copyright (c) 1995 John S. Dyson. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 19 unchanged lines hidden (view full) --- 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * 35 * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 |
36 * $FreeBSD: head/sys/kern/vfs_cluster.c 59249 2000-04-15 05:54:02Z phk $ |
37 */ 38 39#include "opt_debug_cluster.h" 40 41#include <sys/param.h> 42#include <sys/systm.h> 43#include <sys/kernel.h> 44#include <sys/proc.h> --- 439 unchanged lines hidden (view full) --- 484 if (error) { 485 tbp->b_ioflags |= BIO_ERROR; 486 tbp->b_error = error; 487 } else { 488 tbp->b_dirtyoff = tbp->b_dirtyend = 0; 489 tbp->b_flags &= ~B_INVAL; 490 tbp->b_ioflags &= ~BIO_ERROR; 491 } |
492 bufdone(tbp); |
493 } 494 relpbuf(bp, &cluster_pbuf_freecnt); 495} 496 497/* 498 * cluster_wbuild_wb: 499 * 500 * Implement modified write build for cluster. --- 404 unchanged lines hidden --- |