| | Date | Fri, 1 Oct 2010 01:49:09 -0400 | | From | Christoph Hellwig <> | | Subject | Re: [PATCH 02/17] fs: icache lock s_inodes list |
| |
On Wed, Sep 29, 2010 at 10:18:34PM +1000, Dave Chinner wrote: > From: Nick Piggin <npiggin@suse.de> > > To allow removal of the inode_lock, we first need to protect the > superblock inode list with it's own lock instead of using the > inode_lock for this purpose. Nest the new sb_inode_list_lock inside > the inode_lock around the list operations it needs to protect.
Is there any good reason not to make this lock per-superblock?
|