The device I/O path, buffers and spooling
Follow a 4 KB write down the layers to the device and back, then see why a buffer, a cache and a spool each hold data for a different reason. IPC and device I/O · Operating systems.
One write of 4 KB comes back with an error before the device has heard of it, and a write that looks the same waits and succeeds. Which layer decided, and where does data sit while a slow device catches up?
What you will learn
- Trace a request down the layers and its status back up
- Tell a refused request from a failed transfer
- Choose between a buffer, a cache and a spool
Lesson outline
- One request through the layers
- A buffer across a speed gap
- A cache for repeated reads
- A spool for one-job devices
15 minutes · 6 scenes · 0 predict checks · 11 quiz questions
The full lesson is available with Premium.