On Thu, Mar 3, 2011 at 8:33 AM, Marius Vollmer <marius.voll...@nokia.com> wrote:
> And in the big picture, all we need is some guarantee that renames are
> comitted in order, and after the content of the file that is being
> renamed.  I have the impression that all reasonable filesystems give
> that guarantee now, no?

No, they took shortcuts in the implementation and commit the rename
before the source file.

> Hmm, right.  We could keep a list of all files that need fsyncing, and
> then fsync them all just before writing the checkpoint.

Instead of fsync you might want to use the async Linux specific sync options.
-- 
Olaf


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTinW=kxn2trssg+b327prv5m66-zpdxc0s10l...@mail.gmail.com

Reply via email to