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

rwf-atomic · shipping

RWF_ATOMIC

RWF_ATOMIC is a Linux pwritev2 flag requesting torn-write protection for the data range of a supported direct-I/O write.

Request geometry must obey the reported size and vector limits, with power-of-two total length and natural offset alignment. Synchronized I/O semantics are separate from this protection; O_DIRECT alone does not supply O_SYNC guarantees.

Relations

related
torn-write, statx-write-atomic, direct-io, fsync

Citations

  1. Linux man-pages, readv(2): pwritev2 and RWF_ATOMIC (accessed 2026-10-12)
  2. Linux man-pages, open(2): O_DIRECT, O_DSYNC and O_SYNC (accessed 2026-10-12)
  3. Linux atomic writes: untorn does not mean durable (accessed 2026-10-12)

JSON: /data/terms/rwf-atomic.json