[lkml]   [2008]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: writing file to disk: not as easy as it looks
> On Wed, Dec 03, 2008 at 09:46:40AM +0100, Pavel Machek wrote:
> > Yes. fsync() seeems surprisingly high on Rusty's list of broken
> > interfaces classification ('impossible to use correctly').

BTW where is that list.

> To be fair, fsync() was primarily intended for making sure that the
> data had been written to disk, and not necessarily as a way of making
> sure that write errors would be properly reflected back to the
> application. As you've pointed out, it's not really adequate for that
> purpose.
> - Ted

Well, what else do you want to use for databases? (where crashing the
whole computer makes less damage than pretending that transaction was
committed while it wasn't).


 \ /
  Last update: 2008-12-03 18:45    [W:0.097 / U:16.356 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site