On Thu, 30 June 2005 13:32:23 -0700, Chris Wedgwood wrote:
> On Thu, Jun 30, 2005 at 09:44:37PM +0200, J?rn Engel wrote:
>
> > Or do you rather mean that a single sync() should block until all data
> > currently present is hardened?
>
> Logically sync() should return only after all dirty buffers that
> existed before sync() was called are flushed.
That's what I thought. Thanks for the confirmation.
> Anything more than this (i.e. waiting on newly (since sync was called
> but before it returns) dirtied buffers) could live-lock (actually,
> this used to happen sometimes, I don't know if that's the case).
... and would be totally useless anyway, yep.
Jörn
--
The strong give up and move away, while the weak give up and stay.
-- unknown
|