diff options
author | Jan Kara <jack@suse.cz> | 2008-07-11 19:27:31 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-11 19:27:31 -0400 |
commit | c7d206b3379f7d6462e778b74f475c470ee3dcaf (patch) | |
tree | 71d11797c72e2e4ee04e6690c048fd26f25ae90d /fs/ext4/extents.c | |
parent | 2e9ee850355593e311d9a26542290fe51e152f74 (diff) | |
download | linux-c7d206b3379f7d6462e778b74f475c470ee3dcaf.tar.gz linux-c7d206b3379f7d6462e778b74f475c470ee3dcaf.tar.bz2 linux-c7d206b3379f7d6462e778b74f475c470ee3dcaf.zip |
vfs: Move mark_inode_dirty() from under page lock in generic_write_end()
There's no need to call mark_inode_dirty() under page lock in
generic_write_end(). It unnecessarily makes hold time of page lock longer
and more importantly it forces locking order of page lock and transaction
start for journaling filesystems.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
0 files changed, 0 insertions, 0 deletions