Re: [PATCH] implement memory reclaim for leaf reference cache

2008-07-31 Thread Yan Zheng
2008/7/31 Chris Mason [EMAIL PROTECTED]: On Wed, 2008-07-30 at 14:14 -0400, Chris Mason wrote: On Wed, 2008-07-30 at 23:52 +0800, Yan Zheng wrote: Hello, The memory reclaiming issue happens when snapshot exists. In that case, some cache entries may not be used during old snapshot

Re: [PATCH] implement memory reclaim for leaf reference cache

2008-07-30 Thread Chris Mason
On Wed, 2008-07-30 at 23:52 +0800, Yan Zheng wrote: Hello, The memory reclaiming issue happens when snapshot exists. In that case, some cache entries may not be used during old snapshot dropping, so they will remain in the cache until umount. The patch adds a field to struct btrfs_leaf_ref

Re: [PATCH] implement memory reclaim for leaf reference cache

2008-07-30 Thread Chris Mason
On Wed, 2008-07-30 at 14:14 -0400, Chris Mason wrote: On Wed, 2008-07-30 at 23:52 +0800, Yan Zheng wrote: Hello, The memory reclaiming issue happens when snapshot exists. In that case, some cache entries may not be used during old snapshot dropping, so they will remain in the cache