David, >>The proposed fix prevents this issue by using per-sb dentry LRU list. It >>provides very quickly search for the unused dentries for given super block thus >>forcing shrinking always making good progress. > > > We've been down this path before: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=114861109717260&w=2 > > A lot of comments on per-sb unused dentry lists were made in > the threads associated with the above. other solutions were > found to the problem that the above patch addressed, but I don't > think any of them have made it to mainline yet. You might want > to have a bit of a read of these threads first... The major difference between our patch and the one discussed in the link it that we keep both global and per-sb dentry LRU lists. Thus, when needed normal LRU is used and prune logic is unchanged, while umount/remount use per-sb list and do its job faster. Thanks, Kirill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Devel] Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- From: David Howells <[email protected]>
- Re: [Devel] Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- From: Neil Brown <[email protected]>
- Re: [Devel] Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- References:
- Re: [Q] missing unused dentry in prune_dcache()?
- From: Vasily Averin <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: Vasily Averin <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: Vasily Averin <[email protected]>
- [Q] missing unused dentry in prune_dcache()?
- From: Vasily Averin <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: David Howells <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: David Howells <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: David Howells <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: David Howells <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- From: David Howells <[email protected]>
- [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- From: Vasily Averin <[email protected]>
- Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- From: David Chinner <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- Prev by Date: Re: 2.6.19-rc3-mm1
- Next by Date: Re: Block driver freezes when using CFQ
- Previous by thread: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- Next by thread: Re: [Devel] Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- Index(es):