Re: Proposal for "proper" durable fsync() and fdatasync()

Jamie Lokier
2008-02-26T09:26:29Z

Jeff Garzik wrote:
> [snip huge long proposal]
>
> Rather than invent new APIs, we should fix the existing ones to _really_
> flush data to physical media.

Btw, one reason for the length is the current block request API isn't
sufficient even to make fsync() durable with _no_ new APIs.

It offers ordering barriers only, which aren't enough. I tried to
explain, discuss some changes and then suggest optimisations.

-- Jamie