]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Split data write & wait in fsync
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 27 Jul 2011 09:58:48 +0000 (10:58 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 27 Oct 2011 08:07:57 +0000 (09:07 +0100)
commitde32f5b570458a9b3afb0afef2f3fbd99bdb00ca
tree1af5b552b2f58fa957607340dcf497af830936c0
parent168d43f13ceef0f6becdbbbeea437cb624af98bc
GFS2: Split data write & wait in fsync

Now that the data writing is part of fsync proper, we can split
the waiting part out and do it later on. This reduces the
number of waits that we do during fsync on average.

There is also no need to take the i_mutex unless we are flushing
metadata to disk, so we can move that to within the metadata
flushing code.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c