On Sun, 16 Oct 2011 23:09:39 +0200 Philipp Kern wrote:

> erhm, no.  It waits for the I/O to complete and blocks.  Sadly sync
> will also block for all filesystems to be flushed, not just the one
> you want to be in sync.  Forcing it is kind of the point of the
> [f][data]sync calls.

Yeah I know that's how it's documented Phil, but in my testing (a while
back admittedly), it appeared sync was returning before pdflush (as it
was then) had completed the writes. Consequently I am extremely
conservative about relying on this.
Maybe I'll retest it sometime.

Shane ...

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to