blob: 21ad307419a88b801a1b474181aafcde16517c17 [file] [log] [blame]
Thomas Gleixner328970d2019-05-24 12:04:05 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Kurt Hackel0c83ed82005-12-15 14:31:23 -08002/* -*- 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.
Kurt Hackel0c83ed82005-12-15 14:31:23 -080011 */
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
Sunil Mushranea203442010-10-09 10:26:23 -070024/*
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
Kurt Hackel0c83ed82005-12-15 14:31:23 -080030#endif /* _OCFS2_NODEMANAGER_H */