lkml.org 
[lkml]   [2009]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: adding proper O_SYNC/O_DSYNC, was Re: O_DIRECT and barriers
On Sat, Aug 29, 2009 at 12:06:23AM +0100, Jamie Lokier wrote:
> Christoph Hellwig wrote:
> > - given that our current O_SYNC really is and always has been actuall
> > Posix O_DSYNC
>
> Are you sure about this?
>
> >From http://www-01.ibm.com/support/docview.wss?uid=isg1IZ01704 :
>
> Error description
>
> LINUX O_DIRECT/O_SYNC TAKES TOO MANY IOS

That is for GPFS, and out of tree filesystem with binary components.
It could be that they took linux O_SYNC for real O_SYNC. Any filesystem
using the generic helpers in Linux has gotten the O_DSYNC semantics at
least as long as I have worked on Linux filesystems, which is getting
close to 10 years now. I'll do some code archaelogy before we'll move
with this to be sure.



\
 
 \ /
  Last update: 2009-08-29 01:49    [W:0.102 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site