[Ocfs2-commits] smushran commits r3014 - branches/ocfs2-1.2/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Apr 24 15:49:43 PDT 2007


Author: smushran
Date: 2007-04-24 15:49:42 -0700 (Tue, 24 Apr 2007)
New Revision: 3014

Modified:
   branches/ocfs2-1.2/fs/ocfs2/cluster/heartbeat.h
   branches/ocfs2-1.2/fs/ocfs2/cluster/tcp.h
Log:
ocfs2: Update default cluster timeouts

Signed-off-by: mfasheh

Modified: branches/ocfs2-1.2/fs/ocfs2/cluster/heartbeat.h
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/cluster/heartbeat.h	2007-04-24 21:36:14 UTC (rev 3013)
+++ branches/ocfs2-1.2/fs/ocfs2/cluster/heartbeat.h	2007-04-24 22:49:42 UTC (rev 3014)
@@ -35,7 +35,7 @@
 #define O2HB_LIVE_THRESHOLD	   2
 /* number of equal samples to be seen as dead */
 extern unsigned int o2hb_dead_threshold;
-#define O2HB_DEFAULT_DEAD_THRESHOLD	   7
+#define O2HB_DEFAULT_DEAD_THRESHOLD	   31
 /* Otherwise MAX_WRITE_TIMEOUT will be zero... */
 #define O2HB_MIN_DEAD_THRESHOLD	  2
 #define O2HB_MAX_WRITE_TIMEOUT_MS (O2HB_REGION_TIMEOUT_MS * (o2hb_dead_threshold - 1))

Modified: branches/ocfs2-1.2/fs/ocfs2/cluster/tcp.h
===================================================================
--- branches/ocfs2-1.2/fs/ocfs2/cluster/tcp.h	2007-04-24 21:36:14 UTC (rev 3013)
+++ branches/ocfs2-1.2/fs/ocfs2/cluster/tcp.h	2007-04-24 22:49:42 UTC (rev 3014)
@@ -60,8 +60,8 @@
 /* same as hb delay, we're waiting for another node to recognize our hb */
 #define O2NET_RECONNECT_DELAY_MS_DEFAULT	2000
 
-#define O2NET_KEEPALIVE_DELAY_MS_DEFAULT	5000
-#define O2NET_IDLE_TIMEOUT_MS_DEFAULT		10000
+#define O2NET_KEEPALIVE_DELAY_MS_DEFAULT	2000
+#define O2NET_IDLE_TIMEOUT_MS_DEFAULT		30000
 
 
 /* TODO: figure this out.... */




More information about the Ocfs2-commits mailing list