<p>
Finding a way for applications to do atomic writes to files, so that either
the old or new data is present after a crash and not a combination of the
two, was the topic of a session
led by Christoph Hellwig at the 2019 Linux Storage, Filesystem, and
Memory-Management Summit (LSFMM).
Application developers hate the fact that when they update files in place,
a crash can leave them with old or new data—or sometimes a combination of
both.
He discussed some implementation ideas
that he has for atomic writes for XFS and wanted to see what the other
filesystem developers thought about it.
Source: LWN.net – [$] A way to do atomic writes