diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2008-12-17 22:17:42 (GMT) |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-04-03 18:39:14 (GMT) |
commit | 87d3d3f3931f3e0fca44fbb5c06ad45fc4dca9bc (patch) | |
tree | 3f707f7b29905975b054906df0317f833cd411a0 /fs/ocfs2/cluster/heartbeat.h | |
parent | 20bec8ab1458c24bed0d5492ee15d87807fc415a (diff) | |
download | linux-fsl-qoriq-87d3d3f3931f3e0fca44fbb5c06ad45fc4dca9bc.tar.xz |
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 e511339..2f16492 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, struct o2hb_callback_func *hc); void o2hb_fill_node_map(unsigned long *map, unsigned bytes); -void o2hb_init(void); +void o2hb_exit(void); +int o2hb_init(void); int o2hb_check_node_heartbeating(u8 node_num); int o2hb_check_node_heartbeating_from_callback(u8 node_num); int o2hb_check_local_node_heartbeating(void); |