ocfs2/cluster: Track number of global heartbeat regions
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 8 Oct 2010 00:03:07 +0000 (17:03 -0700)
committerSunil Mushran <sunil.mushran@oracle.com>
Fri, 8 Oct 2010 00:03:07 +0000 (17:03 -0700)
commit536f0741f324f116d8b059295999945a2dac56bc
tree56eb9198d5241da7416f37473584c8e718ffd3b9
parent823a637ae933fde8fdb280612dd3ff9912e301e3
ocfs2/cluster: Track number of global heartbeat regions

In global heartbeat mode, we have a upper limit for the number of active regions.
This patch adds the facility to track the number of active global heartbeat
regions and fails to start heartbeat if the number exceeds the maximum.

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