aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/ocfs2_nodemanager.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2010-10-09 13:26:23 -0400
committerSunil Mushran <sunil.mushran@oracle.com>2010-10-09 13:26:23 -0400
commitea2034416b54700e30371f2ad6517cbb94674083 (patch)
tree057585455d8357a63b5c35ebc69de73ac0f828ec /fs/ocfs2/cluster/ocfs2_nodemanager.h
parentb3c85c4cdf77154acc940dd0f14d1fb99cbbaf75 (diff)
ocfs2/dlm: Add message DLM_QUERY_REGION
Adds new dlm message DLM_QUERY_REGION that sends the names of all active heartbeat regions. This message is only sent in the global heartbeat mode. If the regions in the joining node do not fully match the ones in the active nodes, the join domain request is rejected. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/ocfs2_nodemanager.h')
-rw-r--r--fs/ocfs2/cluster/ocfs2_nodemanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/ocfs2_nodemanager.h b/fs/ocfs2/cluster/ocfs2_nodemanager.h
index 5b9854bad571..49b594325bec 100644
--- a/fs/ocfs2/cluster/ocfs2_nodemanager.h
+++ b/fs/ocfs2/cluster/ocfs2_nodemanager.h
@@ -36,4 +36,10 @@
36/* host name, group name, cluster name all 64 bytes */ 36/* host name, group name, cluster name all 64 bytes */
37#define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN 37#define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN
38 38
39/*
40 * Maximum number of global heartbeat regions allowed.
41 * **CAUTION** Changing this number will break dlm compatibility.
42 */
43#define O2NM_MAX_REGIONS 32
44
39#endif /* _OCFS2_NODEMANAGER_H */ 45#endif /* _OCFS2_NODEMANAGER_H */