4 ms·
Hopefully not, because that murders performance. The caching exists for a reason, let it do its thing. If you care about data integrity, you don’t trust the di
by 95014_refugee 3y ago
Hopefully not, because that murders performance. The caching exists for a reason, let it do its thing.
If you care about data integrity, you don’t trust the disk anyway, so flushing to the disk isn’t enough.
- Filligree 3y agoThere's fsync. Unfortunately, if you want atomicity but not durability you have ~zero options on common filesystems. (On ZFS and bcachefs you can get that by disabling syncs completely; they never reorder writes in a visible manner.)