xfs: mark inodes dirty before issuing I/O
authorDave Chinner <david@fromorbit.com>
Tue, 6 Oct 2009 20:29:29 +0000 (20:29 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 8 Oct 2009 17:01:26 +0000 (12:01 -0500)
commit932640e8adaff3d0c28ee32d4863c7a7a74df055
tree14c1bd418ca5a5c7234946eee17386ce6df68e3a
parent69961a26b82931601e07c9e3656bd90c598f2395
xfs: mark inodes dirty before issuing I/O

To make sure they get properly waited on in sync when I/O is in flight and
we latter need to update the inode size.  Requires a new helper to check if an
ioend structure is beyond the current EOF.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c