Re: [Devel] Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list

From: Neil Brown
Date: Wed Nov 01 2006 - 04:20:43 EST


On Tuesday October 31, dhowells@xxxxxxxxxx wrote:
> Neil Brown <neilb@xxxxxxx> wrote:
>
> > When we unmount a filesystem we need to release all dentries.
> > We currently
> > - move a collection of dentries to the end of the dentry_unused list
> > - call prune_dcache to prune that number of dentries.
>
> This is not true anymore.

True. That should read:


When we remount a filesystem or invalidate a block device which has a
mounted filesystem we call shrink dcache_sb which currently:
- moves a collection of dentries to the end of the dentry_unused list
- calls prune_dcache to prune that number of dentries.

but the patch is still valid.

Any objections to it going in to -mm and maybe .20 ??

Thanks,
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/