On Sat, 2008-01-05 at 23:35 +0200, Timo Sirainen wrote: > On 5.1.2008, at 17.28, Trond Myklebust wrote: > > > > > On Sat, 2008-01-05 at 05:07 +0100, Michael Kerrisk wrote: > >> I think you missed my question on O_APPEND though? > > > > Oh, sorry... > > > > O_APPEND is supported for normal writes, but not for O_DIRECT writes. > > The reason for this is that the NFS protocol does not have the > > equivalent of an atomic 'append()' RPC request. > > I'd rather say that O_APPEND is "emulated", not "supported". For > example if two NFS clients try to append to the same log file, > there's no way to do that with O_APPEND without the possibility of > file corruption.
I strongly disagree. By 'normal' writes we mean _cached_ writes. There is no support within that model for having two clients writing to the same file. Trond -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]