• S
    [GFS2] Split gfs2_writepage into three cases · 9ff8ec32
    Steven Whitehouse 提交于
    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: NSteven Whitehouse <swhiteho@redhat.com>
    9ff8ec32
lops.c 20.1 KB