summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2008-06-10 20:50:24 +0000
committerBob Beck <beck@cvs.openbsd.org>2008-06-10 20:50:24 +0000
commit7b9768b8af911b0c6b25a9d357325da1ba59bb5d (patch)
treeefc090ddc427809559d58206f200871b45a38646 /sys/dev/isa
parent3f3e2ade58622197d4b76525efe04c26e77b070c (diff)
Fix buffer cache pending read statistics by ensuring we can identify
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/fd.c b/sys/dev/isa/fd.c
index 1c99189ca49..f964b3fe02f 100644
--- a/sys/dev/isa/fd.c
+++ b/sys/dev/isa/fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fd.c,v 1.71 2008/03/22 22:54:42 krw Exp $ */
+/* $OpenBSD: fd.c,v 1.72 2008/06/10 20:50:23 beck Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -1125,7 +1125,7 @@ fdformat(dev, finfo, p)
if (bp == NULL)
return ENOBUFS;
- bp->b_flags = B_BUSY | B_PHYS | B_FORMAT;
+ bp->b_flags = B_BUSY | B_PHYS | B_FORMAT | B_RAW;
bp->b_proc = p;
bp->b_dev = dev;