Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 21:15:20 GMT
From:      Sonja Milicic <smilicic@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 122671 for review
Message-ID:  <200707012115.l61LFKSt090358@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122671

Change 122671 by smilicic@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;
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707012115.l61LFKSt090358>