xfs
[Top] [All Lists]

RE: XFS holding onto disk memory

To: "'Steve Lord'" <lord@xxxxxxx>, Eric Sandeen <sandeen@xxxxxxx>
Subject: RE: XFS holding onto disk memory
From: Mark Grimes <MGrimes@xxxxxxxxxxxxxxxxx>
Date: Wed, 26 Mar 2003 11:26:01 -0800
Cc: Mark Grimes <MGrimes@xxxxxxxxxxxxxxxxx>, "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Is this a patch I can try?
I can build with XFS v1.2 if necessary.

-----Original Message-----
From: Steve Lord [mailto:lord@xxxxxxx]
Sent: Wednesday, March 26, 2003 11:24 AM
To: Eric Sandeen
Cc: Mark Grimes; 'linux-xfs@xxxxxxxxxxx'
Subject: Re: XFS holding onto disk memory


On Wed, 2003-03-26 at 13:16, Eric Sandeen wrote:
> > Is this expected behavior?  Is there a way to recover the on disk memory
> > without unmounting the filesystem?
> 
> XFS dynamically allocates inodes as they are requested, but they are
> never freed.  Even unmounting won't get this back for you.
> 
> So if you fill your disk with 0-length files, the space allocated
> for inodes will always & forever be allocated for those inodes.
> 
> (compare this to ext2, where inode space is permanently allocated
> at mkfs time).
> 
> You can use xfs_growfs to change the % of the disk which can be used
> for inodes, though.
> 
> -Eric

And we do have freeing of inodes working in house.

Steve

-- 

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


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