xfs
[Top] [All Lists]

Re: XFS corruption during power-blackout

To: Chris Wedgwood <cw@xxxxxxxx>
Subject: Re: XFS corruption during power-blackout
From: Jörn Engel <joern@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Jun 2005 23:07:49 +0200
Cc: Bryan Henderson <hbryan@xxxxxxxxxx>, Al Boldi <a1426z@xxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Steve Lord <lord@xxxxxxx>, "'Nathan Scott'" <nathans@xxxxxxx>, reiserfs-list@xxxxxxxxxxx
In-reply-to: <947885.634f7bc00f9a47e9c90ffbeec9ebb14a812e2dab7a64e2d09cedc7aa2589ffaf3593543a.IBX@xxxxxxxxxxxxxxxxxxxxx>
References: <254889.27725ab660aa106eb6acc07307d71ef1fbd5b6fd366aebef9e2f611750fbcb467e46e8a4.IBX@xxxxxxxxxxxxxxxxxxxxx> <OFC7BE2BBA.42F70A93-ON88257030.00595A48-88257030.005A99A3@xxxxxxxxxx> <054069.b93858d6b97c07747dc32be2dd8981b254d981528781006053dce7be58de88865a43b162.IBX@xxxxxxxxxxxxxxxxxxxxx> <20050630194437.GC8374@xxxxxxxxxxxxxxxxxxxx> <947885.634f7bc00f9a47e9c90ffbeec9ebb14a812e2dab7a64e2d09cedc7aa2589ffaf3593543a.IBX@xxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
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


<Prev in Thread] Current Thread [Next in Thread>