summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-06-11 12:35:38 +0000
committerderaadt <deraadt@openbsd.org>2008-06-11 12:35:38 +0000
commite9e52ee3261aced75061b593a900c7b645509a31 (patch)
tree89013ddd9e45dd90de04038c2e3b1a7127712353 /sys/kern/subr_disk.c
parentfurther step on the road to tags: (diff)
downloadwireguard-openbsd-e9e52ee3261aced75061b593a900c7b645509a31.tar.xz
wireguard-openbsd-e9e52ee3261aced75061b593a900c7b645509a31.zip
back out biomem diff since it is not right yet. Doing very large
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index cfa60f25b41..d4db8e2e299 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.76 2008/06/10 20:50:23 beck Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.77 2008/06/11 12:35:46 deraadt Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -399,7 +399,7 @@ readdoslabel(struct buf *bp, void (*strat)(struct buf *),
/* read boot record */
bp->b_blkno = part_blkno;
bp->b_bcount = lp->d_secsize;
- bp->b_flags = B_BUSY | B_READ | B_RAW;
+ bp->b_flags = B_BUSY | B_READ;
(*strat)(bp);
if (biowait(bp)) {
/*wrong*/ if (partoffp)
@@ -542,7 +542,7 @@ notfat:
bp->b_blkno = dospartoff + DOS_LABELSECTOR;
bp->b_bcount = lp->d_secsize;
- bp->b_flags = B_BUSY | B_READ | B_RAW;
+ bp->b_flags = B_BUSY | B_READ;
(*strat)(bp);
if (biowait(bp))
return ("disk label I/O error");