Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212787
b: refs/heads/master
c: 18c50cb
h: refs/heads/master
i:
  212785: 5bedf1d
  212783: 4360815
v: v3
  • Loading branch information
Sunil Mushran committed Oct 7, 2010
1 parent b2af67d commit b496b97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18cfdf1b1a8e83b09e4185c02396257ce7e7bee3
refs/heads/master: 18c50cb0d3c293eabd6c2ef89c43f2a968e709ed
9 changes: 8 additions & 1 deletion trunk/fs/ocfs2/cluster/heartbeat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,10 @@ static ssize_t o2hb_region_dev_write(struct o2hb_region *reg,
else
ret = -EIO;

if (hb_task && o2hb_global_heartbeat_active())
printk(KERN_NOTICE "o2hb: Heartbeat started on region %s\n",
config_item_name(&reg->hr_item));

out:
if (filp)
fput(filp);
Expand Down Expand Up @@ -1659,6 +1663,9 @@ static void o2hb_heartbeat_group_drop_item(struct config_group *group,
wake_up(&o2hb_steady_queue);
}

if (o2hb_global_heartbeat_active())
printk(KERN_NOTICE "o2hb: Heartbeat stopped on region %s\n",
config_item_name(&reg->hr_item));
config_item_put(item);
}

Expand Down Expand Up @@ -1745,7 +1752,7 @@ ssize_t o2hb_heartbeat_group_mode_store(struct o2hb_heartbeat_group *group,

ret = o2hb_global_hearbeat_mode_set(i);
if (!ret)
printk(KERN_NOTICE "ocfs2: Heartbeat mode set to %s\n",
printk(KERN_NOTICE "o2hb: Heartbeat mode set to %s\n",
o2hb_heartbeat_mode_desc[i]);
return count;
}
Expand Down

0 comments on commit b496b97

Please sign in to comment.