PERFORCE change 122657 for review
Ulf Lilleengen
lulf at FreeBSD.org
Sun Jul 1 18:17:30 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122657
Change 122657 by lulf at lulf_carrot on 2007/07/01 18:17:10
- Add userland padding of struct gv_volume.
Affected files ...
.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_var.h#20 edit
Differences ...
==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_var.h#20 (text+ko) ====
@@ -206,6 +206,7 @@
#define GV_EVENT_RENAME_DRIVE 29
#define GV_EVENT_MOVE_SD 30
+#ifdef _KERNEL
struct gv_event {
int type;
void *arg1;
@@ -214,6 +215,7 @@
intmax_t arg4;
TAILQ_ENTRY(gv_event) events;
};
+#endif
/* This struct contains the main vinum config. */
struct gv_softc {
@@ -370,7 +372,11 @@
struct g_provider *provider; /* Provider of this volume. */
+#ifdef _KERNEL
struct bio_queue_head *wqueue; /* BIO delayed request queue. */
+#else
+ char *wpad; /* Padding for userland. */
+#endif
struct gv_plex *last_read_plex;
struct gv_softc *vinumconf; /* Pointer to the vinum config. */
More information about the p4-projects
mailing list