Replacement intent and mount-time recovery
This figure documents the historical i386 source baseline. Current native x86-64/AArch64 qualification is recorded separately; this is not an ELF64 or native SMP implementation diagram.
OLD and NEW distinguish which inode version recovery keeps under the ordered-I/O model.
Text equivalent and source references
- Persist an OLD intent with the saved inode pointers, stage a separate new block tree, install the replacement inode, then persist NEW before releasing old blocks and clearing intent.
- On mount, OLD restores saved pointers; NEW keeps the installed inode. Recovery rebuilds the allocation bitmap and clears intent. This is not protection against torn sectors or a device that violates the ordering model.
Transaction / recovery flow. Source paths refer to the atlas baseline; the kernel checkout is private.
include/blockfs.h · slfs_intentkernel/fs/blockfs.c · blockfs_write_file_locked, blockfs_init