[Top] [All Lists]

Re: RAID5/6 writes

To: Andi Kleen <andi@xxxxxxxxxxxxxx>
Subject: Re: RAID5/6 writes
From: Peter Cordes <peter@xxxxxxxxx>
Date: Wed, 01 Oct 2008 18:01:36 -0300
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20081001204450.GA25711@xxxxxxxxxxxxxxxxxx>
References: <20081001175237.GJ32037@xxxxxxxxx> <87k5csp0pe.fsf@xxxxxxxxxxxxxxxxx> <20081001201331.GL32037@xxxxxxxxx> <20081001204450.GA25711@xxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.13 (2006-08-11)
On Wed, Oct 01, 2008 at 10:44:50PM +0200, Andi Kleen wrote:
> The other problem I can think of is that determing if something is 
> free data might need more read IO if the free extent tree is not completely
> cached.

 Yeah, I think I mentioned that in my original suggestion.  Unless
there are repeated writes with the same hole, it's probably not worth
it to read from disk to figure out if a sector is free.  XFS could just
see what it could do with what it already has in memory.  This is just
an optimization, so it doesn't have to succeed every time it's possible.

#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC

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