1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Header describing the interface between userspace and the kernel
6 * for the ocfs2_nodemanager module.
8 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
11 #ifndef _OCFS2_NODEMANAGER_H
12 #define _OCFS2_NODEMANAGER_H
14 #define O2NM_API_VERSION 5
16 #define O2NM_MAX_NODES 255
17 #define O2NM_INVALID_NODE_NUM 255
19 /* host name, group name, cluster name all 64 bytes */
20 #define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN
23 * Maximum number of global heartbeat regions allowed.
24 * **CAUTION** Changing this number will break dlm compatibility.
26 #define O2NM_MAX_REGIONS 32
28 #endif /* _OCFS2_NODEMANAGER_H */