Table of Contents
Preface
Part 1: Diving into the Virtual Filesystem
1
Where It All Starts From – The Virtual Filesystem
Technical requirements
Understanding storage in a modern-day data center
Interacting with storage in Linux
Understanding system calls
Explaining the need for a Virtual Filesystem
Describing the VFS
Implementing a common filesystem interface through the VFS
Peeking at the source code
Tracing VFS functions
Explaining the Everything is a file philosophy
Summary
2
Explaining the Data Structures in a VFS
Technical requirements
Data structures in VFS
Inodes – indexing files and directories
Defining an inode in the kernel
Defining inode operations
Tracking file data on disk through inodes
Can a filesystem run out of inodes?
Directory ...
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.