[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-xfs
Subject:    Re: massively truncated files with XFS with sudden power loss on
From:       Eric Sandeen <sandeen () sandeen ! net>
Date:       2008-12-29 21:56:45
Message-ID: 4959479D.8010801 () sandeen ! net
[Download RAW message or body]

Russell Cattelan wrote:
> Chris Wedgwood wrote:

>> this will bite xfs more than ext3 w/ ordered mode
>>   
> Delayed allocation is a factor (and this will be true of any fs 
> supporting delayed allocation)
> holding of data flushes helps reduce fragmentation by allowing larger 
> segments to be flushed out,
> but it increases the time data is held in cache and thus create a larger 
> window for data loss.

That's not quite accurate AFAIK; yes, xfs has delayed allocation, but it
pushes data to disk on the same schedule (by default) as any other
filesystem; when pdflush goes off (30s) or under memory pressure.

The only difference is that xfs (or any delalloc fs) allocates at flush
time not at write time.

But this does not imply that xfs is holding off flushes for longer due
to delayed allocation; I don't want it to sound like xfs is putting data
integrity at risk due to delalloc, because it's not ...

-Eric

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic