summaryrefslogtreecommitdiff
path: root/fs/ocfs2/cluster/heartbeat.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2010-10-09 10:27:04 -0700
committerSunil Mushran <sunil.mushran@oracle.com>2010-10-09 10:27:04 -0700
commit4d94aa1b1d437f9513ddc89974d8bd214b8304f6 (patch)
tree81618849d288255603f71828d3f1151f74495094 /fs/ocfs2/cluster/heartbeat.c
parent43695d095dfaf266a8a940d9b07eed7f46076b49 (diff)
downloadlinux-3.10-4d94aa1b1d437f9513ddc89974d8bd214b8304f6.tar.gz
linux-3.10-4d94aa1b1d437f9513ddc89974d8bd214b8304f6.tar.bz2
linux-3.10-4d94aa1b1d437f9513ddc89974d8bd214b8304f6.zip
ocfs2/cluster: Bump up dlm protocol to version 1.1
dlm protocol 1.1. activates messages DLM_QUERY_REGION and DLM_QUERY_NODEINFO that are a must for global heartbeat. It also activates o2hb_global_heartbeat_active(). Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/heartbeat.c')
-rw-r--r--fs/ocfs2/cluster/heartbeat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c
index 29aee2128ed..6a1280a013e 100644
--- a/fs/ocfs2/cluster/heartbeat.c
+++ b/fs/ocfs2/cluster/heartbeat.c
@@ -2429,6 +2429,6 @@ EXPORT_SYMBOL_GPL(o2hb_get_all_regions);
int o2hb_global_heartbeat_active(void)
{
- return 0;
+ return (o2hb_heartbeat_mode == O2HB_HEARTBEAT_GLOBAL);
}
EXPORT_SYMBOL(o2hb_global_heartbeat_active);