Hacker News new | ask | show | jobs
by hawk_ 173 days ago
If you tested this on macos, be careful. The fsync on it lies.
2 comments

nope, linux python script that writes a little data and calls os.fsync
What's a little data?

In many situations, fsync flushes everything, including totally uncorrelated stuff that might be running on your system.

fsync on most OSes lie to some degree