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.
[ Parent
| on HN ]
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).