• Steven Whitehouse's avatar
    [GFS2] Update gfs2_trans_add_unrevoke to accept extents · 5731be53
    Steven Whitehouse authored
    By adding an extra argument to gfs2_trans_add_unrevoke we can now
    specify an extent length of blocks to unrevoke. This means that
    we only need to make one pass through the list for each extent
    rather than each block. Currently the only extent length which
    is used is 1, but that will change in the future.
    
    Also gfs2_trans_add_unrevoke is removed from gfs2_alloc_meta
    since its the only difference between this and gfs2_alloc_data
    which is left. This will allow a future patch to merge these
    two functions into one (i.e. one call to allocate both data
    and metadata in a single extent in the future).
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    5731be53
trans.h 1.09 KB