summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2011-07-06 00:11:58 +0000
committerBob Beck <beck@cvs.openbsd.org>2011-07-06 00:11:58 +0000
commitf9c99804a7bd30bb1fbbaf28002236b73ad09245 (patch)
treec3425bb53359582521f576df028edcba227a5ecf /sys
parent552adc01bec1b81861f6a2c3e76e27867ace71e8 (diff)
add a couple of fields needed for buffer flipping, and change systat to
show useful info in systat io instead of goo
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/mount.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index bd05ec88c72..aa0284fe4ef 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mount.h,v 1.103 2011/04/05 18:51:26 thib Exp $ */
+/* $OpenBSD: mount.h,v 1.104 2011/07/06 00:11:57 beck Exp $ */
/* $NetBSD: mount.h,v 1.48 1996/02/18 11:55:47 fvdl Exp $ */
/*
@@ -494,6 +494,8 @@ struct bcachestats {
int64_t numreads; /* total reads started */
int64_t cachehits; /* total reads found in cache */
int64_t busymapped; /* number of busy and mapped buffers */
+ int64_t dmapages; /* dma reachable pages in buffer cache */
+ int64_t highpages; /* pages above dma region */
};
#ifdef _KERNEL
extern struct bcachestats bcstats;