Steven Whitehouse 33c3de3287 [GFS2] Don't flush everything on fdatasync
The gfs2_fsync() function was doing a journal flush on each
and every call. While this is correct, its also a lot of
overhead. This patch means that on fdatasync flushes we
rely on the VFS to flush the data for us and we don't do
a journal flush unless we really need to.

We have to do a journal flush for stuffed files though because
they have the data and the inode metadata in the same block.
Journaled files also need a journal flush too of course.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-11-30 10:37:44 -05:00
..
2006-10-11 11:17:06 -07:00
2006-11-30 10:37:32 -05:00
2006-11-30 10:37:32 -05:00
2006-11-30 10:35:49 -05:00
2006-10-20 09:13:40 -04:00
2006-11-30 10:36:42 -05:00
2006-11-30 10:33:32 -05:00
2006-11-30 10:34:14 -05:00
2006-11-30 10:34:52 -05:00
2006-11-30 10:37:18 -05:00
2006-11-30 10:36:42 -05:00
2006-11-30 10:36:42 -05:00
2006-11-30 10:36:30 -05:00
2006-11-30 10:36:24 -05:00
2006-09-25 09:26:04 -04:00
2006-11-30 10:34:55 -05:00
2006-11-30 10:33:14 -05:00
2006-11-06 08:58:52 -05:00
2006-11-30 10:37:32 -05:00
2006-11-30 10:36:42 -05:00
2006-10-12 17:10:15 -04:00
2006-11-30 10:35:53 -05:00
2006-09-05 10:39:21 -04:00
2006-11-30 10:33:46 -05:00