News for hackers. Stuff that matters.
Re:Removing fsync from our local storage engine by seastarer on Saturday May 09, 2026 @12:25PM (#48076156)
It's more correct to use O_DSYNC in addition to O_DIRECT. This adds FUA to the disk write if the disk requires it for durability.
Re:Removing fsync from our local storage engine by thomas_fa on Saturday May 09, 2026 @12:35PM (#48076212)
Yes, that has also been pointed out in other threads. Yes this could be very important settings, and even some of common Linux file systems actually don't do that every time and we need to disable the disk writecache during boot up to make sure the data truly persistent (as in my previous storage company).
Re:Removing fsync from our local storage engine by seebeen on Saturday May 09, 2026 @01:47PM (#48076785)
So instead of saying "We removed fsync" you should say: "We redesigned the database write path to avoid paying the full fsync durability cost on every write"