On Wed, Mar 19, 2008 at 07:27:29PM +0800, Fengguang Wu wrote:...... So you walk the inode hash to find inodes? Seems like a nice idea on the surface.... Won't it need to hold the iprune_mutex to prevent races with prune_icache() and invalidate_list()? Hmmmm - what about unhashed inodes? We'll never see them with this method of traversal. I ask because I'm working on some prototype patches for XFS that avoid using the inode hash altogether and drive inode lookup from the multitude of radix trees we have per filesystem (for parallelised and lockless inode lookup). The above scanning method would not work at all with that sort of filesystem structure. Perhaps combining the bulk get/put with Jan's get/put method for walking the sb inode list would be sufficient? Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group --
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Andi Kleen | Re: [patch] Add basic sanity checks to the syscall execution patch |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Stoyan Gaydarov | From 2.4 to 2.6 to 2.7? |
git: | |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Matthieu Moy | git push to a non-bare repository |
| Johannes Schindelin | Re: Git as a filesystem |
| Jakub Narebski | Re: VCS comparison table |
| Richard Stallman | Real men don't attack straw men |
| Joachim Schipper | Re: OpenBSD/alpha Status |
| Theo de Raadt | Re: hardware needed for network stack performance work |
| Marcus Andree | Re: Cyrus IMAP performance problems [Long] |
| Andrew Morton | Re: [Bugme-new] [Bug 10473] New: Infinite loop "b44: eth0: powering down PHY" |
| John Rigby | [PATCH] [Rev2] MPC5121 FEC support |
| Pekka Enberg | Re: [rfc][patch 1/3] slub: fix small HWCACHE_ALIGN alignment |
| Ilpo Järvinen | [PATCH] [TCP]: Separate lost_retrans loop into own function |
