ocfs2: call ocfs2_update_inode_fsync_trans when updating any inode
authorDarrick J. Wong <[email protected]>
Thu, 3 Apr 2014 21:47:08 +0000 (14:47 -0700)
committerLinus Torvalds <[email protected]>
Thu, 3 Apr 2014 23:20:56 +0000 (16:20 -0700)
commit6fdb702d6262b18b1b41a35f1f81903b0a2bc2c9
treefd2dad0ad0c3706f7e511ffd1b47a5af144a0981
parentf81c20158f8d5f7938d5eb86ecc42ecc09273ce6
ocfs2: call ocfs2_update_inode_fsync_trans when updating any inode

Ensure that ocfs2_update_inode_fsync_trans() is called any time we touch
an inode in a given transaction.  This is a follow-on to the previous
patch to reduce lock contention and deadlocking during an fsync
operation.

Signed-off-by: Darrick J. Wong <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Wengang <[email protected]>
Cc: Greg Marsden <[email protected]>
Cc: Srinivas Eeda <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/acl.c
fs/ocfs2/alloc.c
fs/ocfs2/dir.c
fs/ocfs2/file.c
fs/ocfs2/move_extents.c
fs/ocfs2/namei.c
fs/ocfs2/suballoc.c
fs/ocfs2/xattr.c