commit | 0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Tue Mar 22 22:23:43 2011 +1100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 24 21:17:51 2011 -0400 |
tree | 422e2923193f5ac4ea2a6864a6635878ad58c43b | |
parent | 67a23c494621ff1d5431c3bc320947865b224625 [diff] |
fs: pull inode->i_lock up out of writeback_single_inode First thing we do in writeback_single_inode() is take the i_lock and the last thing we do is drop it. A caller already holds the i_lock, so pull the i_lock out of writeback_single_inode() to reduce the round trips on this lock during inode writeback. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>