diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2008-12-17 17:17:42 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-04-03 14:39:14 -0400 |
commit | 87d3d3f3931f3e0fca44fbb5c06ad45fc4dca9bc (patch) | |
tree | 3f707f7b29905975b054906df0317f833cd411a0 /fs/ocfs2/cluster/heartbeat.h | |
parent | 20bec8ab1458c24bed0d5492ee15d87807fc415a (diff) |
ocfs2/hb: Expose the list of heartbeating nodes via debugfs
This patch creates a debugfs file, o2hb/livesnodes, which exposes the
aggregate list of heartbeating node across all heartbeat regions.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/cluster/heartbeat.h')
-rw-r--r-- | fs/ocfs2/cluster/heartbeat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/heartbeat.h b/fs/ocfs2/cluster/heartbeat.h index e511339886b3..2f1649253b49 100644 --- a/fs/ocfs2/cluster/heartbeat.h +++ b/fs/ocfs2/cluster/heartbeat.h | |||
@@ -75,7 +75,8 @@ void o2hb_unregister_callback(const char *region_uuid, | |||
75 | struct o2hb_callback_func *hc); | 75 | struct o2hb_callback_func *hc); |
76 | void o2hb_fill_node_map(unsigned long *map, | 76 | void o2hb_fill_node_map(unsigned long *map, |
77 | unsigned bytes); | 77 | unsigned bytes); |
78 | void o2hb_init(void); | 78 | void o2hb_exit(void); |
79 | int o2hb_init(void); | ||
79 | int o2hb_check_node_heartbeating(u8 node_num); | 80 | int o2hb_check_node_heartbeating(u8 node_num); |
80 | int o2hb_check_node_heartbeating_from_callback(u8 node_num); | 81 | int o2hb_check_node_heartbeating_from_callback(u8 node_num); |
81 | int o2hb_check_local_node_heartbeating(void); | 82 | int o2hb_check_local_node_heartbeating(void); |