diff options
author | phk <phk@FreeBSD.org> | 2003-04-02 20:41:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-02 20:41:18 +0000 |
commit | cedf04c4758318e15e1a5924e4226bb5a9699107 (patch) | |
tree | bb0413612f4b063a82d75d5551149f4526dbc56d /sys/geom/geom_disk.h | |
parent | 021eeb20207634119a2920f756b6eba04148bbf9 (diff) | |
download | FreeBSD-src-cedf04c4758318e15e1a5924e4226bb5a9699107.zip FreeBSD-src-cedf04c4758318e15e1a5924e4226bb5a9699107.tar.gz |
Change events to have an array of "void *" references, and give the
event posting functions varargs to fill these.
Attribute g_call_me() to appropriate g_geom's where necessary.
Add a flag argument to g_call_me() methods which will be used to signal
cancellation of events in the future.
This commit should be a no-op.
Diffstat (limited to 'sys/geom/geom_disk.h')
-rw-r--r-- | sys/geom/geom_disk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/geom/geom_disk.h b/sys/geom/geom_disk.h index 7cd079e..712e871 100644 --- a/sys/geom/geom_disk.h +++ b/sys/geom/geom_disk.h @@ -40,6 +40,8 @@ #ifdef _KERNEL #include <sys/queue.h> +#include <sys/_lock.h> +#include <sys/_mutex.h> typedef int disk_open_t(struct disk *); typedef int disk_close_t(struct disk *); @@ -60,6 +62,8 @@ struct disk { u_int d_flags; const char *d_name; u_int d_unit; + struct bio_queue_head *d_queue; + struct mtx *d_lock; /* Disk methods */ disk_open_t *d_open; |