diff options
author | phk <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-08 08:01:31 +0000 |
commit | e01fc931cfd9bda87619e5079027111673291cd0 (patch) | |
tree | 040efa2f46ce483cf5b045724c67c81b1d43d147 /sys/sys/disk.h | |
parent | a7246ed45b4e70820cc609b9abd0dc340fd24782 (diff) | |
download | FreeBSD-src-e01fc931cfd9bda87619e5079027111673291cd0.zip FreeBSD-src-e01fc931cfd9bda87619e5079027111673291cd0.tar.gz |
Centralize the devstat handling for all GEOM disk device drivers
in geom_disk.c.
As a side effect this makes a lot of #include <sys/devicestat.h>
lines not needed and some biofinish() calls can be reduced to
biodone() again.
Diffstat (limited to 'sys/sys/disk.h')
-rw-r--r-- | sys/sys/disk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/disk.h b/sys/sys/disk.h index 7031e15..063100c 100644 --- a/sys/sys/disk.h +++ b/sys/sys/disk.h @@ -31,10 +31,12 @@ typedef int disk_ioctl_t(struct disk *, u_long cmd, void *data, /* NB: disk_ioctl_t SHALL be cast'able to d_ioctl_t */ struct g_geom; +struct devstat; struct disk { /* Fields which are private to geom_disk */ struct g_geom *d_geom; + struct devstat *d_devstat; /* Shared fields */ u_int d_flags; |