Buffered I/O
Buffered I/O is file access through an operating-system cache, allowing transfers between an application and storage to be decoupled.
For Linux iomap, buffered reads use page-cache folios and buffered writes dirty them for later writeback. This is distinct from a language runtime's stream buffer or an SSD's device cache. [1]
Relations
- related
- page-cache, direct-io, write-back-cache, fsync
Advantages
- Allows cache reuse and writeback rather than requiring every application transfer to reach storage immediately.
Limitations
- Successful buffer updates alone are not persistence evidence; mixing access paths can require coherence work.