Tagged articles
2 articles
Page 1 of 1
360 Tech Engineering
360 Tech Engineering
Dec 14, 2020 · Operations

Understanding Linux I/O Flush: fsync, fdatasync, sync, O_DIRECT, O_SYNC, REQ_PREFLUSH and REQ_FUA

This article explains the differences and purposes of Linux I/O flushing mechanisms—including fsync(), fdatasync(), sync(), the O_DIRECT and O_SYNC open flags, and the REQ_PREFLUSH and REQ_FUA bio request flags—illustrated with dd experiments, kernel flag tables, and practical commands for managing disk write caches.

I/OLinuxO_DIRECT
0 likes · 12 min read
Understanding Linux I/O Flush: fsync, fdatasync, sync, O_DIRECT, O_SYNC, REQ_PREFLUSH and REQ_FUA
ITPUB
ITPUB
Sep 29, 2016 · Fundamentals

Mastering Linux File I/O: Layers, Calls, and Performance Tweaks

This article breaks down Linux file I/O from high‑level architecture to low‑level system calls, explains how data moves through application buffers, C library buffers, page cache and disk, and offers practical tips for improving throughput, consistency, and safety.

File I/OO_DIRECTfsync
0 likes · 12 min read
Mastering Linux File I/O: Layers, Calls, and Performance Tweaks