diff options
author | dg <dg@FreeBSD.org> | 1994-04-20 07:06:57 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-04-20 07:06:57 +0000 |
commit | 239ae571f10a3f7885fe0f0fe33a7546b8d7dc17 (patch) | |
tree | 7118f27f8fa90ed63832ce7e42891b5648124645 /sys/isa | |
parent | c080508e59d107b34f2c1e9ce9f35037e377a239 (diff) | |
download | FreeBSD-src-239ae571f10a3f7885fe0f0fe33a7546b8d7dc17.zip FreeBSD-src-239ae571f10a3f7885fe0f0fe33a7546b8d7dc17.tar.gz |
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.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/fd.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |