10

Analyzing Filesystems and the Block Layer

Read or write access to storage devices usually happens after passing through several intermediary layers, such as filesystems and the block layer. There is also the page cache, where requested data is preserved before being lazily committed to the underlying storage. So far, we’ve tried to understand the different factors that can affect disk performance and examined the important metrics associated with physical disks, but, as Sherlock Holmes would say, “Perfectly sound analysis, but I was hoping you’d go deeper.”

Applications tend to interact with the filesystem, not with the physical storage. It is the job of a filesystem to translate the application’s request and send it down to the lower layers ...

Get Architecture and Design of the Linux Storage Stack now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.