fs/ceph/super.c
Source file repositories/reference/linux-study-clean/fs/ceph/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/ceph/super.c- Extension
.c- Size
- 45118 bytes
- Lines
- 1717
- 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/ceph/ceph_debug.hlinux/backing-dev.hlinux/ctype.hlinux/fs.hlinux/inet.hlinux/in6.hlinux/module.hlinux/mount.hlinux/fs_context.hlinux/fs_parser.hlinux/sched.hlinux/seq_file.hlinux/slab.hlinux/statfs.hlinux/string.hsuper.hmds_client.hcache.hcrypto.hsubvolume_metrics.hlinux/ceph/ceph_features.hlinux/ceph/decode.hlinux/ceph/mon_client.hlinux/ceph/auth.hlinux/ceph/debugfs.huapi/linux/magic.htrace/events/ceph.h
Detected Declarations
struct ceph_parse_opts_ctxenum ceph_recover_session_modefunction ceph_put_superfunction ceph_statfsfunction ceph_sync_fsfunction canonicalize_pathfunction ceph_parse_old_sourcefunction ceph_parse_new_sourcefunction ceph_parse_sourcefunction ceph_parse_mon_addrfunction ceph_parse_mount_paramfunction destroy_mount_optionsfunction strcmp_nullfunction compare_mount_optionsfunction ceph_show_optionsfunction extra_mon_dispatchfunction flush_fs_workqueuesfunction destroy_fs_clientfunction ceph_inode_init_oncefunction init_cachesfunction destroy_cachesfunction __ceph_umount_beginfunction ceph_umount_beginfunction ceph_apply_test_dummy_encryptionfunction ceph_apply_test_dummy_encryptionfunction ceph_set_superfunction ceph_compare_superfunction ceph_fsid_comparefunction ceph_setup_bdifunction ceph_get_treefunction ceph_free_fcfunction ceph_reconfigure_fcfunction ceph_init_fs_contextfunction __inc_stopping_blockerfunction __dec_stopping_blockerfunction ceph_inc_mds_stopping_blockerfunction ceph_dec_mds_stopping_blockerfunction ceph_inc_osd_stopping_blockerfunction ceph_dec_osd_stopping_blockerfunction ceph_kill_sbfunction ceph_force_reconnectfunction init_cephfunction exit_cephfunction param_set_metricsfunction list_for_each_entrymodule init init_ceph
Annotated Snippet
module_init(init_ceph);
module_exit(exit_ceph);
MODULE_AUTHOR("Sage Weil <sage@newdream.net>");
MODULE_AUTHOR("Yehuda Sadeh <yehuda@hq.newdream.net>");
MODULE_AUTHOR("Patience Warnick <patience@newdream.net>");
MODULE_DESCRIPTION("Ceph filesystem for Linux");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/ceph/ceph_debug.h`, `linux/backing-dev.h`, `linux/ctype.h`, `linux/fs.h`, `linux/inet.h`, `linux/in6.h`, `linux/module.h`, `linux/mount.h`.
- Detected declarations: `struct ceph_parse_opts_ctx`, `enum ceph_recover_session_mode`, `function ceph_put_super`, `function ceph_statfs`, `function ceph_sync_fs`, `function canonicalize_path`, `function ceph_parse_old_source`, `function ceph_parse_new_source`, `function ceph_parse_source`, `function ceph_parse_mon_addr`.
- 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.