GFS2: Make writeback more responsive to system conditions
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 18 Apr 2011 13:18:09 +0000 (14:18 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 20 Apr 2011 08:01:37 +0000 (09:01 +0100)
commit4667a0ec32867865fd4deccf834594b3ea831baf
treebff74fb13700e4087972fce94e45fd69dae7939b
parentf42ab0852946c1fb5103682c5897eb3da908e4b0
GFS2: Make writeback more responsive to system conditions

This patch adds writeback_control to writing back the AIL
list. This means that we can then take advantage of the
information we get in ->write_inode() in order to set off
some pre-emptive writeback.

In addition, the AIL code is cleaned up a bit to make it
a bit simpler to understand.

There is still more which can usefully be done in this area,
but this is a good start at least.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/export.c
fs/gfs2/glock.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/inode.h
fs/gfs2/log.c
fs/gfs2/log.h
fs/gfs2/super.c