diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-03-30 17:25:51 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-04-20 09:59:25 +0200 |
commit | 5ac048bb7ea6e87b06504b999017cfa1f38f4092 (patch) | |
tree | 218a2dd0e6f6d39ead51bb32c10f801f6153c069 /fs/gfs2/glock.h | |
parent | GFS2: Make ->write_inode() really write (diff) | |
download | linux-5ac048bb7ea6e87b06504b999017cfa1f38f4092.tar.xz linux-5ac048bb7ea6e87b06504b999017cfa1f38f4092.zip |
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>
Diffstat (limited to 'fs/gfs2/glock.h')
0 files changed, 0 insertions, 0 deletions