[GFS2] Clean up ordered write code
authorSteven Whitehouse <swhiteho@redhat.com>
Sun, 2 Sep 2007 09:48:13 +0000 (10:48 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:56:03 +0000 (08:56 +0100)
commitd7b616e252b125f12b007c392f7644053bb6f140
tree0794272905a1876ef74144a993f7a76400893813
parent9b9107a5a8b190e6cf09bbdf893869c6a9c482cc
[GFS2] Clean up ordered write code

The following patch removes the ordered write processing from
databuf_lo_before_commit() and moves it to log.c. This has the effect of
greatly simplyfying databuf_lo_before_commit() and well as potentially
making the ordered write code more efficient.

As a side effect of this, its now possible to remove ordered buffers
from the ordered buffer list at any time, so we now make use of this in
invalidatepage and releasepage to ensure timely release of these
buffers.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/log.c
fs/gfs2/lops.c
fs/gfs2/ops_address.c
fs/gfs2/ops_fstype.c