Andrew, >>Virtuozzo/OpenVZ linux kernel team has discovered that umount/remount can last >>for hours looping in shrink_dcache_sb() without much successes. Since during >>shrinking s_umount semaphore is taken lots of other unrelated operations like >>sync can stop working until shrink finished. > > > Did you consider altering shrink_dcache_sb() so that it holds onto > dcache_lock and moves all the to-be-pruned dentries onto a private list in > a single pass, then prunes them all outside the lock? moving dentries from global list to the local one can take arbitrary number of milliseconds (with huge amount of memory), so nothing good here from latency view point. 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/
- 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]>
- 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: Andrew Morton <[email protected]>
- Re: [Q] missing unused dentry in prune_dcache()?
- Prev by Date: Re: [patch] drivers: wait for threaded probes between initcall levels
- Next by Date: Re: [patch] drivers: wait for threaded probes between initcall levels
- Previous by thread: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- Next by thread: Re: [PATCH 2.6.19-rc3] VFS: per-sb dentry lru list
- Index(es):