diff options
author | 2008-07-11 19:27:31 -0400 | |
---|---|---|
committer | 2008-07-11 19:27:31 -0400 | |
commit | c7d206b3379f7d6462e778b74f475c470ee3dcaf (patch) | |
tree | 71d11797c72e2e4ee04e6690c048fd26f25ae90d /fs/jbd2/commit.c | |
parent | ext4: Use page_mkwrite vma_operations to get mmap write notification. (diff) | |
download | wireguard-linux-c7d206b3379f7d6462e778b74f475c470ee3dcaf.tar.xz wireguard-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/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions