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

Jörn Engel
2008-02-26T17:39:22Z

On Tue, 26 February 2008 17:29:13 +0000, Jamie Lokier wrote:
>
> You're right. Though, doesn't normal page writeback enqueue the COW
> metadata changes? If not, how do they get written in a timely
> fashion?

It does. But this is not sufficient to guarantee that the pages in
question have been safely committed to the device by the time
sync_file_range() has returned.

Jörn

--
Joern's library part 5: