Linux Foundationals: Storage and Memory - Block Layer, LUKS2, Btrfs and zram
The second article in the Linux Foundationals series. It follows a read() from the VFS down to the NVMe drive on a Fedora system: the block layer, device mapper, LUKS2 and TPM2 auto-unlock with systemd-cryptenroll, then Btrfs subvolumes, copy-on-write, snapshots and transparent compression. The second half covers memory: page cache versus anonymous pages, why Fedora swaps to zram instead of disk, pressure stall information, and how systemd-oomd steps in before the kernel’s OOM killer does.