1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * ocfs2_nodemanager.h 3 * ocfs2_nodemanager.h 4 * 4 * 5 * Header describing the interface between use 5 * Header describing the interface between userspace and the kernel 6 * for the ocfs2_nodemanager module. 6 * for the ocfs2_nodemanager module. 7 * 7 * 8 * Copyright (C) 2002, 2004 Oracle. All right 8 * Copyright (C) 2002, 2004 Oracle. All rights reserved. 9 */ 9 */ 10 10 11 #ifndef _OCFS2_NODEMANAGER_H 11 #ifndef _OCFS2_NODEMANAGER_H 12 #define _OCFS2_NODEMANAGER_H 12 #define _OCFS2_NODEMANAGER_H 13 13 14 #define O2NM_API_VERSION 5 14 #define O2NM_API_VERSION 5 15 15 16 #define O2NM_MAX_NODES 255 16 #define O2NM_MAX_NODES 255 17 #define O2NM_INVALID_NODE_NUM 255 17 #define O2NM_INVALID_NODE_NUM 255 18 18 19 /* host name, group name, cluster name all 64 19 /* host name, group name, cluster name all 64 bytes */ 20 #define O2NM_MAX_NAME_LEN 64 // __NE 20 #define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN 21 21 22 /* 22 /* 23 * Maximum number of global heartbeat regions 23 * Maximum number of global heartbeat regions allowed. 24 * **CAUTION** Changing this number will brea 24 * **CAUTION** Changing this number will break dlm compatibility. 25 */ 25 */ 26 #define O2NM_MAX_REGIONS 32 26 #define O2NM_MAX_REGIONS 32 27 27 28 #endif /* _OCFS2_NODEMANAGER_H */ 28 #endif /* _OCFS2_NODEMANAGER_H */ 29 29
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.