On Mon, Oct 28, 2002 at 09:10:34AM -0600, Steve Lord wrote:
> On Sun, 2002-10-27 at 15:47, yoros@xxxxxxxxxx wrote:
> > Hi,
> > I have a few questions about XFS and generic filesystem management.
> > The first question is about the creation of sparse files. I want to
> > learn more and more. Another question is related to the process of
> > deleting files. How does XFS delete a file?. Does XFS have a list of
> > extents? (because it is slow when deleting a file that has lots of
> > extents).
> The more extents a file has, the longer it takes to delete it, yes.
> It is not the amount of space in a file, but the number of extents
> which matters. I can remove a 4000 extent file in less than 2 second
> on a 450MHz box here.
> So, two questions:
> 1. How slow is a delete for you, how many extents and how long
> does it take.
> 2. What version of the software and what hardware and how is
> your filesystem configured.
Yes, I know that the files I'm deleting has a lot of extents but I also
know that other filesystems are faster deleting files. Yes, I can
understand that XFS must to "delete" some blocks that contains metadata
for the extents (B trees or the other structure) but I think that this
"deletion" can be done more quick or just try to get allways
unfragmented filesystem. These are only a few ideas that are going
through my head. Now I have the technical documents about XFS and I am
learning more and more.
Pedro Martinez Juliá
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
Description: PGP signature