commit | 5ac048bb7ea6e87b06504b999017cfa1f38f4092 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Wed Mar 30 16:25:51 2011 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Wed Apr 20 08:59:25 2011 +0100 |
tree | 218a2dd0e6f6d39ead51bb32c10f801f6153c069 | |
parent | 1027efaa238e1b65c07b6c2d9e270e548c2bdb07 [diff] |
GFS2: Use filemap_fdatawrite() to write back the AIL In order to ensure that the mapping stats (and thus the bdi) are correctly updated, this patch changes the AIL writeback to use the filemap_datawrite function. This helps prevent stalls in balance_dirty_pages() due to large amounts of dirty metadata when there is little or no dirty data around. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>