[lkml]   [2010]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 10/18] fs: Factor inode hash operations into functions
On Fri, Oct 08, 2010 at 04:21:24PM +1100, Dave Chinner wrote:
> From: Dave Chinner <>
> Before replacing the inode hash locking with a more scalable
> mechanism, factor the removal of the inode from the hashes rather
> than open coding it in several places.
> Based on a patch originally from Nick Piggin.

Looks good as an equal transformation, but what code is doing with
remove_inode_hash looks really buggy. It's doing a re-hash of a live
inode which is probably causing enough problems by itself, but should
at least have locks for it. Anyway, that's something for the coda folks
to sort out.

Reviewed-by: Christoph Hellwig <>

 \ /
  Last update: 2010-10-08 09:33    [W:0.374 / U:20.104 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site