Skip to content

what happens when a file is read written

Animesh Trivedi edited this page Sep 13, 2023 · 3 revisions

We will build this page in a similar spirit to: https://github.com/alex/what-happens-when

The reading path

File Open

Read systems call

the VFS

The block cache

File system

Look up and path resolution

Block layer and scheduler

Device driver

Inside an SSD

Interrupt processing (or polling)

Completion of a block request

Completion notification back to the application

The writing path