X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/60a71525b34d4b9e3cfd368765a0c4878da3410e..233328fcccc6ee5a686c52f66897a525302bab23:/usr/src/sys/kern/vfs_bio.c diff --git a/usr/src/sys/kern/vfs_bio.c b/usr/src/sys/kern/vfs_bio.c index 03bf6f3649..392907e10a 100644 --- a/usr/src/sys/kern/vfs_bio.c +++ b/usr/src/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* vfs_bio.c 4.12 %G% */ +/* vfs_bio.c 4.14 %G% */ #include "../h/param.h" #include "../h/systm.h" @@ -60,7 +60,7 @@ struct { long nreada; long ncache; long nwrite; - long bufcount[NBUF]; + long bufcount[64]; } io_info; #endif @@ -74,12 +74,12 @@ struct { * page push, when the I/O completes, it is inserted * in a list of cleaned pages to be processed by the pageout daemon. */ -struct buf swbuf[NSWBUF]; -short swsize[NSWBUF]; /* CAN WE JUST USE B_BCOUNT? */ -int swpf[NSWBUF]; +struct buf *swbuf; +short *swsize; /* CAN WE JUST USE B_BCOUNT? */ +int *swpf; -#ifdef FASTVAX +#ifndef UNFAST #define notavail(bp) \ { \ int s = spl6(); \ @@ -361,7 +361,7 @@ daddr_t blkno; i++; dp = dp->av_forw; } - if (i