Design a crash-resilient file system
Design a file system that can recover file contents correctly after a crash at any moment. Cover write ordering, journaling or copy-on-write, what is guaranteed after fsync, the recovery procedure on restart, and the bottlenecks you would hit and change before running it in production.
No answer yet. Write the first one; the best answer gets endorsed.
