PERFORCE change 122671 for review

Sonja Milicic smilicic at FreeBSD.org
Sun Jul 1 21:15:21 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=122671

Change 122671 by smilicic at tanarri_marilith on 2007/07/01 21:14:27

	structure changes in softc

Affected files ...

.. //depot/projects/soc2007/smilicic_glog/sys/geom/log/glog.h#2 edit

Differences ...

==== //depot/projects/soc2007/smilicic_glog/sys/geom/log/glog.h#2 (text+ko) ====

@@ -37,11 +37,13 @@
 struct g_log_event {
         unsigned short int type;
         unsigned short int flags;
-#define GLOG_COMMIT 1
-#define GLOG_ROLLBACK 2
-#define GLOG_READ 3
-#define GLOG_WRITE 4
-#define GLOG_STOP 5
+#define GLOG_EVCOMMIT 1
+#define GLOG_EVROLLBACK 2
+#define GLOG_EVREAD 3
+#define GLOG_EVWRITE 4
+#define GLOG_EVSTOP 5
+#define GLOG_FLAG_WAKEUP_SC  6
+
         void*       data1;
         int         data2;
         TAILQ_ENTRY(g_log_event) linkage;
@@ -56,9 +58,11 @@
 };
 
 struct g_log_softc {
-    struct g_geom	*sc_geom;
-	struct g_provider *sc_provider;
-    char *sc_file_name;
-    struct vnode *sc_vn;
-    struct g_log_event_sink sc_events;
+        struct g_geom	*sc_geom_log;
+        struct g_provider *sc_prov_log;
+        struct g_provider *sc_prov_disk;
+        struct g_consumer *sc_cons_disk;
+        char *sc_file_name;
+        struct vnode *sc_vn;
+        struct g_log_event_sink sc_events;
 };


More information about the p4-projects mailing list