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/dev/mcd | |
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/dev/mcd')
-rw-r--r-- | sys/dev/mcd/mcd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 2e49967..8fbfdc4 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -39,7 +39,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.13 1994/03/06 14:14:49 jkh Exp $ + * $Id: mcd.c,v 1.14 1994/03/21 20:59:55 ats Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -350,6 +350,9 @@ MCD_TRACE("strategy: drive not valid\n",0,0,0,0); if (bounds_check_with_label(bp,&cd->dlabel,1) <= 0) { goto done; } + } else { + bp->b_pblkno = bp->b_blkno; + bp->b_cylin = 0; } /* queue it */ |