ext4: Optimize ext4 DIO overwrites
[linux/fpc-iii.git] / fs / ocfs2 / cluster / ocfs2_nodemanager.h
blob21ad307419a88b801a1b474181aafcde16517c17
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:
5 * ocfs2_nodemanager.h
7 * Header describing the interface between userspace and the kernel
8 * for the ocfs2_nodemanager module.
10 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
13 #ifndef _OCFS2_NODEMANAGER_H
14 #define _OCFS2_NODEMANAGER_H
16 #define O2NM_API_VERSION 5
18 #define O2NM_MAX_NODES 255
19 #define O2NM_INVALID_NODE_NUM 255
21 /* host name, group name, cluster name all 64 bytes */
22 #define O2NM_MAX_NAME_LEN 64 // __NEW_UTS_LEN
25 * Maximum number of global heartbeat regions allowed.
26 * **CAUTION** Changing this number will break dlm compatibility.
28 #define O2NM_MAX_REGIONS 32
30 #endif /* _OCFS2_NODEMANAGER_H */