[lkml]   [2009]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux 2.6.29
On Wed, Mar 25, 2009 at 10:36:31PM -0400, Jeff Garzik wrote:
> Matthew Garrett wrote:
> >The problem is that you're insisting that the only way
> >applications can ensure that their requests occur in order is to use
> >fsync(), which will achieve that but also provides guarantees above and
> >beyond what the majority of applications want.
> That remains a true statement... without the *sync* syscalls, you
> still do not have a _guarantee_ writes occur in a certain order.

The interesting case is whether data hits disk before metadata when
renaming over the top of an existing file, which appears to be
guaranteed in the default ext4 configuration now? I'm sure there are
filesystems where this isn't the case, but that's mostly just an
argument that it's not sensible to use those filesystems if your
system's at any risk of crashing.

Matthew Garrett |

 \ /
  Last update: 2009-03-26 03:47    [W:0.583 / U:0.396 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site