Re: Systems lie about persistence and consistency promises. A lot.
Lassi Kortela 10 Jul 2019 22:59 UTC
> It's not clear to me that the 30-second auto-sync is reliable, either.
> I can't find it right now, but I read an ACM paper a few years ago that
> compared several filesystems and showed that they had widely varying
> behavior with respect to unplanned shutdown. Varying the hardware makes
> reliable behavior even less likely. I don't think waiting thirty
> seconds will fix that.
It's most likely not reliable. I find your argument easy to believe,
even without any sources :)
I wonder how many programs dutifully use sync() but forget to flush
their own output buffers.