commit | 9ff8ec32e58875022447af619bec6e5aee7c77e4 | [log] [tgz] |
---|---|---|
author | Steven Whitehouse <swhiteho@redhat.com> | Fri Sep 28 13:49:05 2007 +0100 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Fri Jan 25 08:07:25 2008 +0000 |
tree | 0c626762f334d1cc066113b3e47a2fa02a72af0c | |
parent | 5561093e2cac9f7d2a77e39cc689b8d2b7f9b2bc [diff] |
[GFS2] Split gfs2_writepage into three cases 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>