Fixing the Filesystem Freeze API
summary
Filesystem freeze in Linux currently lacks a reliable check API and lets a frozen filesystem be unmounted with no way to thaw it, breaks multi-device filesystems (BTRFS) and misbehaves with DM snapshot. Patches add a new get_freeze_fd ioctl that keeps a freeze held while the FD is open so a crashed guest agent auto‑unfreezes, export freeze count via /proc/fs and a hand‑task‑watchdog hint flag so sleeping writers don’t trigger panics. BTRFS gets a superblock pointer in struct block_device, and there’s work on VSS support and user‑namespace fixes.
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:12Filesystem freeze in Linux
- 1:57Linux filesystem freeze API
- 3:57Filesystem freeze warts
- 15:05Filesystem freeze and virtualization
- 19:04New filesystem freeze API
- 20:59Future work
- 25:20Hypervisor initiated live-snapshots
related talks
39mRead-only rootfs: Theory and Practice
10mTowards a More Efficiently Synchronization in KVM
11mThe Tales of the Cursed Operating Systems Textbook!
22mDevice Keepalive State for Local Live Migration and VMM Fast Restart
11mHigh Velocity Kernel File Systems with Bento
16mXkernel: Principled Performance Tunability of Operating System Kernels
11mImmutable Linux systems and how they work
49mA Short History of (Linux) Filesystems
