linux/fs/xfs/linux-2.6
Christoph Hellwig d1166ec792 xfs: prevent against ioend livelocks in xfs_file_fsync
We need to take some locks to prevent new ioends from coming in when we wait
for all existing ones to go away.  Up to Linux 3.0 that was done using the
i_mutex held by the VFS fsync code, but now that we are called without
it we need to take care of it ourselves.  Use the I/O lock instead of
i_mutex just like we do in other places.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
2011-07-26 22:06:39 -05:00
..
kmem.c
kmem.h
mrlock.h
time.h
xfs_acl.c fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
xfs_aops.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2011-07-22 19:02:39 -07:00
xfs_aops.h
xfs_buf.c xfs: flag all buffers as metadata 2011-07-26 22:05:48 -05:00
xfs_buf.h xfs: remove wrappers around b_iodone 2011-07-13 13:43:49 +02:00
xfs_discard.c xfs: add online discard support 2011-05-24 11:17:13 -05:00
xfs_discard.h xfs: add online discard support 2011-05-24 11:17:13 -05:00
xfs_export.c xfs: failure mapping nfs fh to inode should return ESTALE 2011-07-20 18:35:21 -05:00
xfs_export.h
xfs_file.c xfs: prevent against ioend livelocks in xfs_file_fsync 2011-07-26 22:06:39 -05:00
xfs_fs_subr.c
xfs_globals.c
xfs_ioctl32.c xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE 2011-04-28 13:27:46 -05:00
xfs_ioctl32.h xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE 2011-04-28 13:27:46 -05:00
xfs_ioctl.c xfs: preallocation transactions do not need to be synchronous 2011-03-26 09:13:08 +11:00
xfs_ioctl.h
xfs_iops.c fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
xfs_iops.h
xfs_linux.h xfs: use generic get_unaligned_beXX helpers 2011-07-08 14:35:58 +02:00
xfs_message.c xfs: kill off xfs_printk() 2011-05-19 11:38:09 -05:00
xfs_message.h xfs: kill off xfs_printk() 2011-05-19 11:38:09 -05:00
xfs_quotaops.c
xfs_stats.c
xfs_stats.h
xfs_super.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2011-07-22 19:02:39 -07:00
xfs_super.h
xfs_sync.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2011-07-22 19:02:39 -07:00
xfs_sync.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 2011-07-22 19:02:39 -07:00
xfs_sysctl.c
xfs_sysctl.h
xfs_trace.c
xfs_trace.h fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
xfs_vnode.h
xfs_xattr.c