[GFS2] Split gfs2_writepage into three cases
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 28 Sep 2007 12:49:05 +0000 (13:49 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:07:25 +0000 (08:07 +0000)
This patch splits gfs2_writepage into separate functions for each of
the three cases: writeback, ordered and journalled. As a result
it becomes a lot easier to see what each one is doing. The common
code is moved into gfs2_writepage_common.

This fixes a performance bug where we were doing more work than
strictly required in the ordered write case.

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

diff --cc fs/gfs2/lops.c
Simple merge
Simple merge