aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/heartbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ocfs2/cluster/heartbeat.c')
-rw-r--r--fs/ocfs2/cluster/heartbeat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index f28de4b09c6b..e8676accf902 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -797,6 +797,8 @@ fire_callbacks:
797 797
798 /* first on the list generates a callback */ 798 /* first on the list generates a callback */
799 if (list_empty(&o2hb_live_slots[slot->ds_node_num])) { 799 if (list_empty(&o2hb_live_slots[slot->ds_node_num])) {
800 mlog(ML_HEARTBEAT, "o2hb: Add node %d to live nodes "
801 "bitmap\n", slot->ds_node_num);
800 set_bit(slot->ds_node_num, o2hb_live_node_bitmap); 802 set_bit(slot->ds_node_num, o2hb_live_node_bitmap);
801 803
802 o2hb_queue_node_event(&event, O2HB_NODE_UP_CB, node, 804 o2hb_queue_node_event(&event, O2HB_NODE_UP_CB, node,
@@ -845,6 +847,8 @@ fire_callbacks:
845 /* last off the live_slot generates a callback */ 847 /* last off the live_slot generates a callback */
846 list_del_init(&slot->ds_live_item); 848 list_del_init(&slot->ds_live_item);
847 if (list_empty(&o2hb_live_slots[slot->ds_node_num])) { 849 if (list_empty(&o2hb_live_slots[slot->ds_node_num])) {
850 mlog(ML_HEARTBEAT, "o2hb: Remove node %d from live "
851 "nodes bitmap\n", slot->ds_node_num);
848 clear_bit(slot->ds_node_num, o2hb_live_node_bitmap); 852 clear_bit(slot->ds_node_num, o2hb_live_node_bitmap);
849 853
850 /* node can be null */ 854 /* node can be null */