ocfs2: call ocfs2_update_inode_fsync_trans when updating any inode
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 3 Apr 2014 21:47:08 +0000 (14:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <darrick.wong@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Wengang <wen.gang.wang@oracle.com>
Cc: Greg Marsden <greg.marsden@oracle.com>
Cc: Srinivas Eeda <srinivas.eeda@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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