1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* -*- mode: c; c-basic-offset: 8; -*- 3 * vim: noexpandtab sw=8 ts=8 sts=0: 4 * 5 * ocfs2_nodemanager.h 6 * 7 * Header describing the interface between userspace and the kernel 8 * for the ocfs2_nodemanager module. 9 * 10 * Copyright (C) 2002, 2004 Oracle. All rights reserved. 11 */ 12 13#ifndef _OCFS2_NODEMANAGER_H 14#define _OCFS2_NODEMANAGER_H 15 16#define O2NM_API_VERSION 5 17 18#define O2NM_MAX_NODES 255 19#define O2NM_INVALID_NODE_NUM 255 20 21/* host name, group name, cluster name all 64 bytes */ 22#define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN 23 24/* 25 * Maximum number of global heartbeat regions allowed. 26 * **CAUTION** Changing this number will break dlm compatibility. 27 */ 28#define O2NM_MAX_REGIONS 32 29 30#endif /* _OCFS2_NODEMANAGER_H */ 31