commit | 2f0264d592e34cde99efbad7d616b04af138e913 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Jul 27 10:58:48 2011 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Oct 21 12:39:18 2011 +0100 |
tree | c3839570b304396513c8cc296a3fc7130b6066f1 | |
parent | 4c28d33803d4aeaff32b4ac502af11a9b2aed8f4 [diff] |
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>