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