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)
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>

No differences found