Skip to contentSkip to conversation

AT_REPLACE flag for linkat()

DISCUSSION Matthijs van Duin 1 participant 1 message Apr 8, 2019 VFS

lore
Share & tools
lore
#0 lore raw

In the mailing list archives I found the patch series "fs: add AT_REPLACE flag for linkat()" to allow atomically replacing a file with a hardlink to an existing file, which can be combined with O_TMPFILE to atomically replace files with new content without having to use named temporary files (and risk leaving them behind on power loss).

I would really love to have this functionality, but it seems activity just stopped around May 2018, with the last I could find being:

Quoted 1 line · Omar Sandoval

Ping, Al, can you take a look?

What happened to it? Is there still any hope for this patch series?

Matthijs van Duin