• Steven Whitehouse's avatar
    [GFS2] Split gfs2_writepage into three cases · 9ff8ec32
    Steven Whitehouse authored
    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: default avatarSteven Whitehouse <swhiteho@redhat.com>
    9ff8ec32
lops.c 20.1 KB