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

Neil Brown neilb at suse.de
Tue Oct 31 22:32:54 PST 2006


On Tuesday October 31, dhowells at redhat.com wrote:
> Neil Brown <neilb at suse.de> 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




More information about the Devel mailing list