diff options
author | 1995-12-30 09:24:20 +0000 | |
---|---|---|
committer | 1995-12-30 09:24:20 +0000 | |
commit | 11ddbc4c723db6368809a69ef22df7dac46a2b13 (patch) | |
tree | db031866e69733b63a56660a291a014a0fa9224c /sys/kern/subr_disk.c | |
parent | located in /sys/dev now (diff) | |
download | wireguard-openbsd-11ddbc4c723db6368809a69ef22df7dac46a2b13.tar.xz wireguard-openbsd-11ddbc4c723db6368809a69ef22df7dac46a2b13.zip |
from netbsd:
Move the old-style disk instrumentation "structures" to a central
location (sys/kern/subr_disk.c) and note that they should/will be
deprecated.
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 1fda3176a0e..f3615211358 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_disk.c,v 1.13 1995/03/29 20:57:35 mycroft Exp $ */ +/* $NetBSD: subr_disk.c,v 1.14 1995/12/28 19:16:39 thorpej Exp $ */ /* * Copyright (c) 1982, 1986, 1988, 1993 @@ -45,6 +45,20 @@ #include <sys/buf.h> #include <sys/disklabel.h> #include <sys/syslog.h> +#include <sys/dkstat.h> /* XXX */ + +/* + * Old-style disk instrumentation structures. These will go away + * someday. + */ +long dk_seek[DK_NDRIVE]; +long dk_time[DK_NDRIVE]; +long dk_wds[DK_NDRIVE]; +long dk_wpms[DK_NDRIVE]; +long dk_xfer[DK_NDRIVE]; +int dk_busy; +int dk_ndrive = DK_NDRIVE; +int dkn; /* number of slots filled so far */ /* * Seek sort for disks. We depend on the driver which calls us using b_resid |