xfs
[Top] [All Lists]

Re: About removing files

To: yoros@xxxxxxxxxx
Subject: Re: About removing files
From: Steve Lord <lord@xxxxxxx>
Date: 24 Oct 2002 17:10:18 -0500
Cc: linux-xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20021024220639.GA20279@morpheus.matrix.com>
References: <20021024220639.GA20279@morpheus.matrix.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Thu, 2002-10-24 at 17:06, yoros@xxxxxxxxxx wrote:
> 
> Hi,
> 
> I have experienced large times when deleting a few big files (they were
> ISO images). Why do XFS waste such time for deleting that files?
> 
> Note: It happends to me a lot of times... Process: I make, record and
> finally delete the ISO image.
> 
> Pedro

Depends which version of the code you are running, and how you
create the iso. If your file is really fragmented then it might
well take a while. If you are running the 1.1 release or earlier
then you are probably running code which has some synchronous
disk writes in the delete path. This is no longer the case in
the latest code.

Try running xfs_bmap on your iso file, this outputs how the
file is layed out on disk. If it is in lots of small chunks
then that is part of the problem and you might want to look
at how you create the iso images (and tell us how you do it too).

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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