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>
Showing
- fs/ocfs2/acl.c 1 addition, 0 deletionsfs/ocfs2/acl.c
- fs/ocfs2/alloc.c 2 additions, 0 deletionsfs/ocfs2/alloc.c
- fs/ocfs2/dir.c 2 additions, 0 deletionsfs/ocfs2/dir.c
- fs/ocfs2/file.c 7 additions, 0 deletionsfs/ocfs2/file.c
- fs/ocfs2/move_extents.c 2 additions, 0 deletionsfs/ocfs2/move_extents.c
- fs/ocfs2/namei.c 1 addition, 0 deletionsfs/ocfs2/namei.c
- fs/ocfs2/suballoc.c 2 additions, 1 deletionfs/ocfs2/suballoc.c
- fs/ocfs2/xattr.c 3 additions, 0 deletionsfs/ocfs2/xattr.c
Loading
Please register or sign in to comment