LFS: Basic Idea
An alternative is to use the disk as a log
A log is a data structure that is written only at the head
If the disk were managed as a log, there would be effectively no head seeks
The “file” is always added to sequentially
New data and metadata (inodes, directories) are accumulated in the buffer cache, then written all at once in large blocks (e.g., segments of .5M or 1M)
This would greatly increase disk thruput
How does this really work? How do we read? What does the disk structure look like? etc.?