On Wed, Mar 18, 2009 at 11:15:48AM -0400, Moore, Joe wrote:
> Posix doesn't require the OS to sync() the file contents on close for
> local files like it does for NFS access?  How odd.

Why should it?  If POSIX is agnostic as to system crashes / power
failures, then why should it say anything about when data should hit the
disk in the absence of explicit sync()/fsync() calls?

NFS is a different beast though.  Client cache coherency and other
issues come up.  So to maintain POSIX semantics a number of NFS
operations must be synchronous and close() on the client requires
flushing dirty buffers to the server.

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to