News for hackers. Stuff that matters.
Re:POSIX v. reality: A position on O_PONIES by Denvercoder9 on Thursday November 23, 2023 @06:38PM (#38399019)
I don't see how new APIs will help here. The problem is that the semantics that application developers want is expensive (performance-wise), so they use a similar API that doesn't guarantee those semantics but provides them in practice 99% of the time. You could create a new set of API's, but it's really hard to implement any API in a way that doesn't give extra, unspecified semantics in practice, so what prevents application developers from making the same choice?
Re:POSIX v. reality: A position on O_PONIES by Filligree on Thursday November 23, 2023 @07:04PM (#38399252)
They aren't that expensive. ZFS provides them by default, in that no operations are ever reordered in a user-visible fashion even without fsync. That's a stronger guarantee than we're asking for here.