diff options
author | Dave Chinner <dchinner@redhat.com> | 2011-03-22 22:23:43 +1100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-03-24 21:17:51 -0400 |
commit | 0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1 (patch) | |
tree | 422e2923193f5ac4ea2a6864a6635878ad58c43b /fs/aio.c | |
parent | 67a23c494621ff1d5431c3bc320947865b224625 (diff) | |
download | op-kernel-dev-0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1.zip op-kernel-dev-0f1b1fd86f6fd662e04da3e82a6780b226fcd0d1.tar.gz |
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>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions