From 239ae571f10a3f7885fe0f0fe33a7546b8d7dc17 Mon Sep 17 00:00:00 2001 From: dg Date: Wed, 20 Apr 1994 07:06:57 +0000 Subject: Bug fixes and performance improvements from John Dyson and myself: 1) check va before clearing the page clean flag. Not doing so was causing the vnode pager error 5 messages when paging from NFS. (pmap.c) 2) put back interrupt protection in idle_loop. Bruce didn't think it was necessary, John insists that it is (and I agree). (swtch.s) 3) various improvements to the clustering code (vm_machdep.c). It's now enabled/used by default. 4) bad disk blocks are now handled properly when doing clustered IOs. (wd.c, vm_machdep.c) 5) bogus bad block handling fixed in wd.c. 6) algorithm improvements to the pageout/pagescan daemons. It's amazing how well 4MB machines work now. --- sys/isa/fd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/isa') diff --git a/sys/isa/fd.c b/sys/isa/fd.c index d2eb7aa..d05c361 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.23 1994/03/02 18:34:41 ache Exp $ + * $Id: fd.c,v 1.24 1994/03/08 16:25:29 nate Exp $ * */ @@ -413,6 +413,7 @@ void fdstrategy(struct buf *bp) goto bad; } bp->b_cylin = blknum / (fd->ft->sectrac * fd->ft->heads); + bp->b_pblkno = bp->b_blkno; dp = &(fdc->head); s = splbio(); disksort(dp, bp); -- cgit v1.1