[Gluster-users] Small File and "ls" performance ..
barry.jaspan at acquia.com
Mon Jun 7 15:28:11 UTC 2010
> When flush-behind is on, the flush/close is indeed done in the
> background, but only after the last write has returned. Applications
> will _not_ miss the error of previous writes in close().
If write() succeeds, is it not possible for flush() or close() to fail
later? My understanding is you need to check for errors from both. For
example, write() might just write to an in-memory buffer, then the disk
might fill up before the change is flushed out.
More information about the Gluster-users