]> bbs.cooldavid.org Git - net-next-2.6.git/commit - fs/xfs/linux-2.6/xfs_super.c
xfs: wait for direct I/O to complete in fsync and write_inode
authorChristoph Hellwig <hch@infradead.org>
Tue, 20 Apr 2010 07:00:59 +0000 (17:00 +1000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:14 +0000 (09:58 -0500)
commit37bc5743fdc29f60fb104cd9031babbabddff25a
treeabbcde46a9741a40a0ced8d1f289f6af65725d15
parentfce1cad651e3cf2779ed8f9e6608daf50d29daaf
xfs: wait for direct I/O to complete in fsync and write_inode

We need to wait for all pending direct I/O requests before taking care of
metadata in fsync and write_inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_super.c