From 5e62cf921f81c1a52722707f822218d7ba8c6d07 Mon Sep 17 00:00:00 2001 From: Sunil Mushran Date: Wed, 6 Oct 2010 18:50:50 -0700 Subject: [PATCH] --- yaml --- r: 212798 b: refs/heads/master c: d6aa1c7c9e4b48081c2302e14b0f857017461efd h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/cluster/heartbeat.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index abc691c50412..9ce7bbe1cbe5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1f28530537f106f83e5cf7ef0193075667b6d520 +refs/heads/master: d6aa1c7c9e4b48081c2302e14b0f857017461efd diff --git a/trunk/fs/ocfs2/cluster/heartbeat.c b/trunk/fs/ocfs2/cluster/heartbeat.c index f28de4b09c6b..e8676accf902 100644 --- a/trunk/fs/ocfs2/cluster/heartbeat.c +++ b/trunk/fs/ocfs2/cluster/heartbeat.c @@ -797,6 +797,8 @@ static int o2hb_check_slot(struct o2hb_region *reg, /* first on the list generates a callback */ if (list_empty(&o2hb_live_slots[slot->ds_node_num])) { + mlog(ML_HEARTBEAT, "o2hb: Add node %d to live nodes " + "bitmap\n", slot->ds_node_num); set_bit(slot->ds_node_num, o2hb_live_node_bitmap); o2hb_queue_node_event(&event, O2HB_NODE_UP_CB, node, @@ -845,6 +847,8 @@ static int o2hb_check_slot(struct o2hb_region *reg, /* last off the live_slot generates a callback */ list_del_init(&slot->ds_live_item); if (list_empty(&o2hb_live_slots[slot->ds_node_num])) { + mlog(ML_HEARTBEAT, "o2hb: Remove node %d from live " + "nodes bitmap\n", slot->ds_node_num); clear_bit(slot->ds_node_num, o2hb_live_node_bitmap); /* node can be null */