[Ocfs2-commits] mfasheh commits r1852 - in
tags/ocfs2-0.99.3-BETA7/fs/ocfs2: cluster dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Tue Jan 25 19:31:28 CST 2005
Author: mfasheh
Date: 2005-01-25 19:31:26 -0600 (Tue, 25 Jan 2005)
New Revision: 1852
Modified:
tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/heartbeat.c
tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/nodemanager.c
tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/tcp.c
tags/ocfs2-0.99.3-BETA7/fs/ocfs2/dlm/dlmmod.h
Log:
* silence output for some of these modules.
Modified: tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/heartbeat.c 2005-01-25 23:38:47 UTC (rev 1851)
+++ tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/heartbeat.c 2005-01-26 01:31:26 UTC (rev 1852)
@@ -116,11 +116,11 @@
static wait_queue_head_t hb_cb_wq;
static atomic_t hb_cb_ready = ATOMIC_INIT(0);
-//#if 0
+#if 0
#define hbprintk(x, arg...) printk("(hb:%d) " x, current->pid, ##arg)
#define hbprintk0(x) printk("(hb:%d) " x, current->pid)
-//#else
-#if 0
+#else
+//#if 0
#define hbprintk(x, arg...)
#define hbprintk0(x)
#endif
Modified: tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/nodemanager.c
===================================================================
--- tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/nodemanager.c 2005-01-25 23:38:47 UTC (rev 1851)
+++ tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/nodemanager.c 2005-01-26 01:31:26 UTC (rev 1852)
@@ -187,10 +187,10 @@
#define NM_HASH_MASK (NM_HASH_SIZE - 1)
-
+#if 0
#define nmprintk(x, arg...) printk("(nm:%d) " x, current->pid, ##arg)
#define nmprintk0(x) printk("(nm:%d) " x, current->pid)
-#if 0
+#else
#define nmprintk(x, arg...)
#define nmprintk0(x)
#endif
Modified: tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/tcp.c
===================================================================
--- tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/tcp.c 2005-01-25 23:38:47 UTC (rev 1851)
+++ tags/ocfs2-0.99.3-BETA7/fs/ocfs2/cluster/tcp.c 2005-01-26 01:31:26 UTC (rev 1852)
@@ -106,7 +106,7 @@
#include "tcp.h"
#include "nodemanager.h"
-#if 1
+#if 0
#define netprintk(x, arg...) printk("(tcp:%d)(%s:%d) " x, current->pid, __FUNCTION__, __LINE__, ##arg)
#define netprintk0(x) printk("(tcp:%d)(%s:%d) " x, current->pid, __FUNCTION__, __LINE__)
/* yeah, a little gross, but it gets the job done */
Modified: tags/ocfs2-0.99.3-BETA7/fs/ocfs2/dlm/dlmmod.h
===================================================================
--- tags/ocfs2-0.99.3-BETA7/fs/ocfs2/dlm/dlmmod.h 2005-01-25 23:38:47 UTC (rev 1851)
+++ tags/ocfs2-0.99.3-BETA7/fs/ocfs2/dlm/dlmmod.h 2005-01-26 01:31:26 UTC (rev 1852)
@@ -30,7 +30,7 @@
-#if 0
+#if 1
#define dlmprintk(x, arg...)
#define dlmprintk0(x)
#else
More information about the Ocfs2-commits
mailing list