3 ms·
Meanwhile ext4 is plowing even further down the path of "we get great benchmarks if we make data integrity a userspace problem LOL"
by rodgerd 6y ago
Meanwhile ext4 is plowing even further down the path of "we get great benchmarks if we make data integrity a userspace problem LOL"
- Dylan16807 6y agoHow so? They had that recent batch of safe optimizations, and trying to make fsync act closer to what it actually says is a pretty good thing.
- wmf 6y agoThe fact that write(), close(), rename() isn't safe unless you fsync is pretty annoying.
- Dylan16807 6y agoIt is, but also isn't new.
- the8472 6y agoa) posix doesn't guarantee or require it b) ext4 actually provides a workaround for that kind of broken software with its auto_da_alloc behavior, which is on by default.
- Dylan16807 6y agoWhat posix actually requires is an awful mess and just as broken if not moreso. Oh, you just said to sync the file, not the directory? Too bad, data's gone.
- a1369209993 6y agoPosix doesn't guarantee or require that you can reliably close a file descriptor. Modus tollens and all, or as the saying goes, 98% confidence has been refuted at general relativity.