]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[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)
commit9ff8ec32e58875022447af619bec6e5aee7c77e4
tree0c626762f334d1cc066113b3e47a2fa02a72af0c
parent5561093e2cac9f7d2a77e39cc689b8d2b7f9b2bc
[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>
fs/gfs2/lops.c
fs/gfs2/ops_address.c