Re: [PATCH 03/17] fs: icache lock inode hash
From: Nick Piggin
Date: Sat Oct 16 2010 - 03:57:51 EST
On Fri, Oct 01, 2010 at 02:06:50AM -0400, Christoph Hellwig wrote:
> On Wed, Sep 29, 2010 at 10:18:35PM +1000, Dave Chinner wrote:
> > From: Nick Piggin <npiggin@xxxxxxx>
> >
> > Currently the inode hash lists are protected by the inode_lock. To
> > allow removal of the inode_lock, we need to protect the inode hash
> > table lists with a new lock. Nest the new inode_hash_lock inside the
> > inode_lock to protect the hash lists.
>
> There is no reason to make inode_hash_lock global, it's only used inside
> inode.c
It was like that while hugetlbfs still used it. Fixed, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/