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.
PGP.sig
Description: This is a digitally signed message part