← 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 calls write()
write() only copies the bytes from the app into kernel-managed RAM. At this point the data is visible to the OS, but not durable.
Arrow keys to walk the stack · R to reset
Tap dots to jump to any step