- Published on
Investigation · Part 5 of 20 · What survives a crash
The Zero-Length File Problem and What ext4 Does About It
In 2009, ext4 users found empty files after crashes, and ext4 got a heuristic called auto_da_alloc. I watched it work on my laptop: a rename over an existing file starts the writeback at once. It protects against the worst case, but it is not durability.