xfs
[Top] [All Lists]

Re: Memory issues again

To: Steve Lord <lord@xxxxxxx>
Subject: Re: Memory issues again
From: Dana Soward <dragon@xxxxxxxxxxx>
Date: Mon, 21 May 2001 10:46:52 -0700 (PDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200105211605.f4LG59t02659@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
That seems to have done it.  Its been up for 40 mins and is holding at
about 26MB used. I'll let you know if it's the same tomorrow. Thanks a
bunch!  You guys are doing a bang up job with this, its awesome.

Dana

On Mon, 21 May 2001, Steve Lord wrote:

> 
> You have 98 Mbytes chewed up in inode caches, I just happen to be looking into
> problems in this area at the moment. XFS is not releasing inodes in the
> same manner as other filesystems. Try this patch and let me know what
> happens.
> 
> Steve
> 
> 
> ===========================================================================
> Index: linux/fs/xfs/xfs_vnodeops.c
> ===========================================================================
> 
> --- /usr/tmp/TmpDir.2645-0/linux/fs/xfs/xfs_vnodeops.c_1.502  Mon May 21 
> 11:00:44 2001
> +++ linux/fs/xfs/xfs_vnodeops.c       Mon May 21 10:50:35 2001
> @@ -5133,6 +5133,10 @@
>       vn_bhv_remove(VN_BHV_HEAD(vp), XFS_ITOBHV(ip));
>       mrunlock(&ih->ih_lock);
>  
> +     if (!ip->i_update_core && (ip->i_itemp == NULL)) {
> +             return xfs_finish_reclaim(ip, locked);
> +     }
> +
>       if (locked) {
>               xfs_ifunlock(ip);
>               xfs_iunlock(ip, XFS_ILOCK_EXCL);
> 
> 
> 


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