ocfs2/cluster: Get all heartbeat regions
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 7 Oct 2010 21:31:06 +0000 (14:31 -0700)
committerSunil Mushran <sunil.mushran@oracle.com>
Thu, 7 Oct 2010 21:31:06 +0000 (14:31 -0700)
commitb3c85c4cdf77154acc940dd0f14d1fb99cbbaf75
treec88f7d311ba46650691768dffc90362db9129338
parentb1365d0bd14b912cceb424cbeed9fe939a9038e3
ocfs2/cluster: Get all heartbeat regions

Export function in o2hb to get a list of heartbeat regions. It also adds an
upper limit to the length of the heartbeat region name.

o2hb_global_heartbeat_active() currently disables global heartbeat. It will
be enabled in a later patch after all the code is added.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
fs/ocfs2/cluster/heartbeat.c
fs/ocfs2/cluster/heartbeat.h