xfs: implement optimized fdatasync
authorChristoph Hellwig <hch@infradead.org>
Mon, 15 Feb 2010 09:44:49 +0000 (09:44 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 1 Mar 2010 22:34:45 +0000 (16:34 -0600)
commit66d834ea603d61bd90fedad90300ca91c5bba0a3
treef73072b9d87bd71a0739f07e4d0e26f10c5d925a
parentfd3200bef7d66ed3924f72c79a465fb7ff85478a
xfs: implement optimized fdatasync

Allow us to track the difference between timestamp and size updates
by using mark_inode_dirty from the I/O completion code, and checking
the VFS inode flags in xfs_file_fsync.

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