fs/ocfs2/cluster/nodemanager.c
Source file repositories/reference/linux-study-clean/fs/ocfs2/cluster/nodemanager.c
File Facts
- System
- Linux kernel
- Corpus path
fs/ocfs2/cluster/nodemanager.c- Extension
.c- Size
- 21059 bytes
- Lines
- 869
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/slab.hlinux/string.hlinux/kernel.hlinux/module.hlinux/configfs.htcp.hnodemanager.hheartbeat.hmasklog.hsys.h
Detected Declarations
struct o2nm_node_groupstruct o2nm_cluster_groupfunction o2nm_configured_node_mapfunction o2nm_node_putfunction o2nm_node_getfunction o2nm_this_nodefunction o2nm_node_releasefunction o2nm_node_num_showfunction o2nm_node_num_storefunction o2nm_node_ipv4_port_showfunction o2nm_node_ipv4_port_storefunction o2nm_node_ipv4_address_showfunction o2nm_node_ipv4_address_storefunction o2nm_node_local_showfunction o2nm_node_local_storefunction o2nm_cluster_attr_writefunction o2nm_cluster_idle_timeout_ms_showfunction o2nm_cluster_idle_timeout_ms_storefunction o2nm_cluster_keepalive_delay_ms_showfunction o2nm_cluster_keepalive_delay_ms_storefunction o2nm_cluster_reconnect_delay_ms_showfunction o2nm_cluster_reconnect_delay_ms_storefunction o2nm_cluster_fence_method_showfunction o2nm_cluster_fence_method_storefunction o2nm_node_group_drop_itemfunction o2nm_cluster_releasefunction o2nm_cluster_group_drop_itemfunction o2nm_lock_subsystemfunction o2nm_unlock_subsystemfunction o2nm_depend_itemfunction o2nm_undepend_itemfunction o2nm_depend_this_nodefunction o2nm_undepend_this_nodefunction exit_o2nmfunction init_o2nmmodule init init_o2nmexport o2nm_get_node_by_numexport o2nm_configured_node_mapexport o2nm_get_node_by_ipexport o2nm_node_putexport o2nm_node_getexport o2nm_this_node
Annotated Snippet
module_init(init_o2nm)
module_exit(exit_o2nm)
Annotation
- Immediate include surface: `linux/slab.h`, `linux/string.h`, `linux/kernel.h`, `linux/module.h`, `linux/configfs.h`, `tcp.h`, `nodemanager.h`, `heartbeat.h`.
- Detected declarations: `struct o2nm_node_group`, `struct o2nm_cluster_group`, `function o2nm_configured_node_map`, `function o2nm_node_put`, `function o2nm_node_get`, `function o2nm_this_node`, `function o2nm_node_release`, `function o2nm_node_num_show`, `function o2nm_node_num_store`, `function o2nm_node_ipv4_port_show`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.