News for hackers. Stuff that matters.
Re:POSIX v. reality: A position on O_PONIES by dale_glass on Friday November 24, 2023 @03:44AM (#38401821)
Okay, so why not create a single syscall to encompass all that? So that the developer can clearly say "this is what I'm trying to achieve", and accomplish it simply, and reliably?

I think this would be a benefit, because first you don't need userspace developers dig into the gory details of dirent metadata durability, and second because by making this explicit it helps put pressure on filesystem developers to optimize what the users actually want.

Re:POSIX v. reality: A position on O_PONIES by throwaway09223 on Friday November 24, 2023 @10:24AM (#38404886)
Because it would accomplish nothing. What's the point? It's not more simple and there are no benefits WRT reliability.

"I think this would be a benefit, because first you don't need userspace developers dig into the gory details of dirent metadata durability"

This is what libraries are for, not syscalls.

The problem here is you're mixing up two unrelated concepts: Durability and atomicity.