On Apr 1, 2010, at 8:42 AM, casper....@sun.com wrote:
Is that what "sync" means in Linux?
A sync write is one in which the application blocks until the OS
acks that
the write has been committed to disk. An async write is given to
the OS,
and the OS is permitted to buffer the write to disk at its own
discretion.
Meaning the async write function call returns sooner, and the
application is
free to continue doing other stuff, including issuing more writes.
Async writes are faster from the point of view of the application.
But sync
writes are done by applications which need to satisfy a race
condition for
the sake of internal consistency. Applications which need to know
their
next commands will not begin until after the previous sync write was
committed to disk.
We're talking about the "sync" for NFS exports in Linux; what do
they mean
with "sync" NFS exports?
See section A1 in the FAQ:
http://nfs.sourceforge.net/
-Ross
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss