← Back to Labs
fsync And The Power Cut
Follow a single write() from the application all the way to stable storage, then pull the cord and see what survives.
Step 1 / 8Application write()
The app calls write(). The data is copied from the app's buffer into the kernel's page cache. That is all. A power cut now loses the data.
Arrow keys to walk the stack · R to reset
Tap dots to jump to any step