xfs
[Top] [All Lists]

Re: xfs_fsr not defragging properly?

To: Juha K Kallio <bunnyh@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs_fsr not defragging properly?
From: Nathan Straz <nstraz@xxxxxxx>
Date: Thu, 16 Oct 2003 16:26:50 -0500
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20031016150303.GA25882@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mail-followup-to: Juha K Kallio <bunnyh@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
References: <20031016150303.GA25882@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Thu, Oct 16, 2003 at 06:03:03PM +0300, Juha K Kallio wrote:
> I have a 80GB partition with many files with variable sizes that is
> 76% full ATM. I've noticed that there are some inodes that xfs_fsr
> never defrags (eg. "No improvement made: ino=156196115"), even though
> there certainly is enough space (19GB) for the file (less than 1GB).
> What's the cause for this? If there's no consistent space for the
> inode to fit in to, shouldn't the program re-organize other inodes to
> make that space?

There probably isn't a contiguous hole big enough for the file.  xfs_fsr
does not defragment free space.  So unless you get lucky and move a file
out of the way to make a large contiguous hole, you're probably not
going to get a better layout for that file.

-- 
Nate Straz                                              nstraz@xxxxxxx
sgi, inc                                           http://www.sgi.com/
Linux Test Project                                  http://ltp.sf.net/


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