[DRBD-cvs] drbd by lars; adding cvs date to REL_VERSION, so it sh...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 19 May 2004 12:04:04 +0200 (CEST)


DRBD CVS committal

Author  : lars
Module  : drbd

Dir     : drbd/drbd/linux


Modified Files:
      Tag: rel-0_7-branch
	drbd_config.h 


Log Message:
adding cvs date to REL_VERSION, so it shows up in syslog and in /proc/drbd, and as such in bug reports :)
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/linux/Attic/drbd_config.h,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -3 -r1.1.2.5 -r1.1.2.6
--- drbd_config.h	11 May 2004 13:14:49 -0000	1.1.2.5
+++ drbd_config.h	19 May 2004 10:03:59 -0000	1.1.2.6
@@ -20,15 +20,24 @@
 #ifndef DRBD_CONFIG_H
 #define DRBD_CONFIG_H
 
-#define REL_VERSION "0.7-pre7+cvs"
+#define REL_VERSION "0.7-pre7 cvs $Date: 2004/05/19 10:03:59 $"
 #define API_VERSION 72
 #define PRO_VERSION 72
 
-//#define DBG_ALL_SYMBOLS // no static functs, improves quality of OOPS traces
+#define DBG_ALL_SYMBOLS // no static functs, improves quality of OOPS traces
+                        // for now, please leave it on.
+
 //#define DBG_SPINLOCKS   // enables MUST_HOLD macro (assertions for spinlocks)
 //#define DBG_ASSERTS     // drbd_assert_breakpoint() function
-//#define DUMP_MD         // Dump metadata to syslog upon connect
+//#define DUMP_MD 1       // Dump metadata to syslog upon connect
+//#define DUMP_MD 2       // Dump even all cstate changes
 
 //#define SIGHAND_HACK           // Needed for RH 2.4.20 and later kernels.
 //#define REDHAT_HLIST_BACKPORT  // Makes DRBD work on RH9 kernels
+
+#define PARANOIA // some extra checks
+
+// don't enable this, unless you can cope with gigabyte syslogs :)
+//#define DUMP_EACH_PACKET
+
 #endif