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
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