4 ms·
Can we ignore for a second what the proper behavior should be, and instead focus on the documentation. In my opinion, even a careful reading of the fsync man p
by bvinc 8y ago
Can we ignore for a second what the proper behavior should be, and instead focus on the documentation.
In my opinion, even a careful reading of the fsync man page does not cover what exactly happens if you close an fd, reopen the file in another process, and then call fsync. Am I supposed to read kernel source code? Ideally, after reading a man page, I should have no questions about exactly what guarantees are provided by an API.