From f9c99804a7bd30bb1fbbaf28002236b73ad09245 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Wed, 6 Jul 2011 00:11:58 +0000 Subject: add a couple of fields needed for buffer flipping, and change systat to show useful info in systat io instead of goo --- sys/sys/mount.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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; -- cgit v1.2.3