svn commit: r224147 - head/sys/geom

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Jul 17 20:35:31 UTC 2011


Author: pjd
Date: Sun Jul 17 20:35:30 2011
New Revision: 224147
URL: http://svn.freebsd.org/changeset/base/224147

Log:
  Add some spare fields to the g_class and g_geom structures needed to implement
  direct I/O handling and provider's property changes handling.

Modified:
  head/sys/geom/geom.h

Modified: head/sys/geom/geom.h
==============================================================================
--- head/sys/geom/geom.h	Sun Jul 17 20:02:29 2011	(r224146)
+++ head/sys/geom/geom.h	Sun Jul 17 20:35:30 2011	(r224147)
@@ -89,6 +89,7 @@ typedef void g_dumpconf_t (struct sbuf *
 struct g_class {
 	const char		*name;
 	u_int			version;
+	u_int			spare0;
 	g_taste_t		*taste;
 	g_config_t		*config;
 	g_ctl_req_t		*ctlreq;
@@ -105,6 +106,8 @@ struct g_class {
 	g_access_t		*access;
 	g_orphan_t		*orphan;
 	g_ioctl_t		*ioctl;
+	void			*spare1;
+	void			*spare2;
 	/*
 	 * The remaining elements are private
 	 */
@@ -134,6 +137,8 @@ struct g_geom {
 	g_access_t		*access;
 	g_orphan_t		*orphan;
 	g_ioctl_t		*ioctl;
+	void			*spare0;
+	void			*spare1;
 	void			*softc;
 	unsigned		flags;
 #define	G_GEOM_WITHER		1


More information about the svn-src-all mailing list