How imran-delta/cafs works
CAFS is an alpha filesystem project whose only buildable runtime component is a Linux Rust I/O Engine PoC. Its principal workflow is formatting a device, mounting its anchor region, applying runtime mount options, checking or confirming it, and issuing generic block I/O. The README also identifies a shared SMART telemetry processor. The allocator, FUSE request layer, dedup table, WAL, and kernel driver are unbuilt or placeholders, so they are not represented as runtime components. Some engine internals are unsampled; links are limited to documented or excerpt-supported calls.
Main entry points: lib.rs Engine API · mount.rs Anchor Mount · block_io.rs Block Read Write · confirm.rs Mount Confirmation
Components 14
I/O Engine
- Engine API
Src/FUSE/Linux/x86-64/I-O_Engine/src/lib.rs - Anchor Mount
Src/FUSE/Linux/x86-64/I-O_Engine/src/mount.rs - Pointer Verification
Src/FUSE/Linux/x86-64/I-O_Engine/src/anchor.rs - Runtime Options
Src/FUSE/Linux/x86-64/I-O_Engine/src/remount.rs - Superblock Check
Src/FUSE/Linux/x86-64/I-O_Engine/src/check.rs - Mount Confirmation
Src/FUSE/Linux/x86-64/I-O_Engine/src/confirm.rs - Block Read Write
Src/FUSE/Linux/x86-64/I-O_Engine/src/block_io.rs - Checksums
Src/FUSE/Linux/x86-64/I-O_Engine/src/checksum.rs - On-Disk Layout
Src/FUSE/Linux/x86-64/I-O_Engine/src/layout.rs
Formatting
- Filesystem Formatter
Src/FUSE/Linux/x86-64/I-O_Engine/src/bin/mkfs_cafs.rs
SMART Telemetry
- SMART Processor
Src/smart_handler.py - JSON Input Output
Other components
- Caller
- Device or Image
Connections 17
- Caller → Filesystem Formatter: formats
- Filesystem Formatter → Device or Image: writes anchor
- Caller → Engine API: uses
- Engine API → Anchor Mount: mounts
- Anchor Mount → Device or Image: reads anchor
- Anchor Mount → Pointer Verification: verifies pointers
- Anchor Mount → Block Read Write: reads structures
- Engine API → Runtime Options: sets options
- Engine API → Superblock Check: checks
- Engine API → Mount Confirmation: confirms mount
- Engine API → Block Read Write: reads or writes blocks
- Mount Confirmation → Block Read Write: writes structures
- Mount Confirmation → Checksums: hashes superblock
- Block Read Write → Device or Image: reads or writes
- Caller → SMART Processor: submits telemetry
- JSON Input Output → SMART Processor: provides JSON
- SMART Processor → JSON Input Output: returns analysis