aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/recovery.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:14:32 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-11-30 10:37:44 -0500
commit33c3de32872ef3c075e4dac04c0de8f86ac39f6f (patch)
tree32b8d14e4de17e78918ba8794c47781c1b069e2f /fs/gfs2/recovery.c
parent[GFS2] Add a comment about reading the super block (diff)
downloadlinux-dev-33c3de32872ef3c075e4dac04c0de8f86ac39f6f.tar.xz
linux-dev-33c3de32872ef3c075e4dac04c0de8f86ac39f6f.zip
[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>
Diffstat (limited to 'fs/gfs2/recovery.c')
0 files changed, 0 insertions, 0 deletions