Storage glossary · JSON corpus · llms.txt · hesela.com

fdatasync · shipping · also fdatasync()

fdatasync

fdatasync is a file-synchronization operation that persists modified data and the metadata required to retrieve it, without requiring synchronization of all other file metadata.

File-size changes must be synchronized because retrieval depends on them; timestamp-only changes need not be. Like a file fsync, fdatasync does not establish persistence of its containing directory entry. Check errors before acknowledging a commit.

Relations

related
fsync, msync, sync-file-range, writeback-error

Advantages

Limitations

Citations

  1. Linux man-pages 6.19: fsync(2), fdatasync metadata requirements (accessed 2026-10-13)
  2. Hesela: Why retrying a failed fsync does not prove durability (accessed 2026-10-13)

JSON: /data/terms/fdatasync.json