by preseinger · 3y ago · 0 comments
this synchronization is handled for you by the fs, specifically the fs cache
inode alignment and errors are managed by this intermediating layer
your benchmarks are not demonstrating what you think they are demonstrating
the fs cache does most/all of the optimizations you're doing manually
bypassing the fs cache is highly atypical for user-space code