System Design · Netflix · Hard
You are asked to design a file system that remains recoverable after sudden failures such as power loss or a kernel panic. The system should provide the usual file operations: create, read, write or append, delete, and rename. After any crash, the file system must be able to bring itself back to a consistent state with the following properties: No file's contents are left partially updated or corrupted. Metadata such as directory entries, inode structures, and free-space…
Checking your access…