lkml.org 
[lkml]   [2012]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage
Date
This patchset optimizes several places which take the per inode spin lock.
They have not been fully tested yet, thus they are marked as RFC.

I do limited tests after all patches applied: use two 'find' to traverse the
filesystems and touch all files in parallel. This runs for several days in a
virtual machine, no suspicious log appears.

Guo Chao (4):
fs/inode.c: do not take i_lock on newly allocated inode
fs/inode.c: do not take i_lock in __(insert|remove)_inode_hash
fs/inode.c: do not take i_lock when identify an inode
fs/inode.c: always take i_lock before calling filesystem's test()
method

fs/inode.c | 32 +++++++++-----------------------
1 file changed, 9 insertions(+), 23 deletions(-)

--
1.7.9.5



\
 
 \ /
  Last update: 2012-09-21 12:21    [W:0.072 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site