fs/ocfs2/cluster/ocfs2_nodemanager.h

Source file repositories/reference/linux-study-clean/fs/ocfs2/cluster/ocfs2_nodemanager.h

File Facts

System
Linux kernel
Corpus path
fs/ocfs2/cluster/ocfs2_nodemanager.h
Extension
.h
Size
702 bytes
Lines
29
Domain
Core OS
Bucket
VFS And Filesystem Core
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _OCFS2_NODEMANAGER_H
#define _OCFS2_NODEMANAGER_H

#define O2NM_API_VERSION	5

#define O2NM_MAX_NODES		255
#define O2NM_INVALID_NODE_NUM	255

/* host name, group name, cluster name all 64 bytes */
#define O2NM_MAX_NAME_LEN        64    // __NEW_UTS_LEN

/*
 * Maximum number of global heartbeat regions allowed.
 * **CAUTION**  Changing this number will break dlm compatibility.
 */
#define O2NM_MAX_REGIONS	32

#endif /* _OCFS2_NODEMANAGER_H */

Annotation

Implementation Notes