[Ocfs2-commits] zab commits r2001 -
branches/usysfsify/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Mar 17 19:30:45 CST 2005
Author: zab
Date: 2005-03-17 19:30:44 -0600 (Thu, 17 Mar 2005)
New Revision: 2001
Modified:
branches/usysfsify/fs/ocfs2/cluster/heartbeat.c
Log:
o only generate down events for nodes that have been up
Modified: branches/usysfsify/fs/ocfs2/cluster/heartbeat.c
===================================================================
--- branches/usysfsify/fs/ocfs2/cluster/heartbeat.c 2005-03-18 01:05:40 UTC (rev 2000)
+++ branches/usysfsify/fs/ocfs2/cluster/heartbeat.c 2005-03-18 01:30:44 UTC (rev 2001)
@@ -310,8 +310,11 @@
continue;
}
- /* don't bother checking if our node is dead */
- if (slot->ds_node_num == nm_this_node())
+ /* only tick down on idlw nodes that we think are alive.
+ * this stops us from getting a sea of node down events for
+ * nodes that have never been active. */
+ if (!list_empty(&slot->ds_dead_item) ||
+ list_empty(&slot->ds_alive_item))
continue;
/* decrease slot margin to zero as long as we don't
More information about the Ocfs2-commits
mailing list