3 ms·
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 si
by dale_glass 3y ago
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.
- throwaway09223 3y agoBecause 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.