Shane,

am Sat, Oct 15, 2011 at 09:32:34AM +1000 hast du folgendes geschrieben:
> > Detach/attach is the only time Linux forces a re-read of the data
> > actually on the disk for the R/O systems, so you need to sync on the
> > R/W system, then detach/attach on the R/O systems to pick up the
> > actual changes.
> And don't be too keen to rush over and do the attach. [f]sync (in
> general) _doesn't_ force the changed data to disk - it merely schedules
> the I/O. Big difference.

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.

That said, the sent I/O requests might remain in the cache of the
storage and not actually be on any disk, but that's a different
matter I presume.

Kind regards
Philipp Kern

----------------------------------------------------------------------
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