[Ocfs2-tools-commits] manish commits r1056 -
branches/ocfs2-tools-1.0/vendor/common
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Aug 18 20:31:27 CDT 2005
Author: manish
Date: 2005-08-18 20:31:26 -0500 (Thu, 18 Aug 2005)
New Revision: 1056
Modified:
branches/ocfs2-tools-1.0/vendor/common/o2cb.init
Log:
Merged 1054:1055 from trunk:
o Set heartbeat deadline from o2cb.init
Modified: branches/ocfs2-tools-1.0/vendor/common/o2cb.init
===================================================================
--- branches/ocfs2-tools-1.0/vendor/common/o2cb.init 2005-08-19 01:18:50 UTC (rev 1055)
+++ branches/ocfs2-tools-1.0/vendor/common/o2cb.init 2005-08-19 01:31:26 UTC (rev 1056)
@@ -92,6 +92,9 @@
# O2CB_BOOTCLUSTER: If not empty, the name of a cluster to start.
O2CB_BOOTCLUSTER=${O2CB_BOOTCLUSTER}
+# O2CB_HEARTBEAT_THRESHOLD: Iterations before a node is considered dead.
+O2CB_HEARTBEAT_THRESHOLD=${O2CB_HEARTBEAT_THRESHOLD}
+
EOF
if [ $? != 0 ]
@@ -480,6 +483,9 @@
eval ${LOAD_ACTIONS[i]}
if_fail "$?"
done
+ if [ -n "$O2CB_HEARTBEAT_THRESHOLD" ]; then
+ echo "$O2CB_HEARTBEAT_THRESHOLD" > /proc/fs/ocfs2_nodemanager/hb_dead_threshold
+ fi
}
load_status()
More information about the Ocfs2-tools-commits
mailing list