Skip to content
  • Steven Whitehouse's avatar
    [GFS2] Add extent allocation to block allocator · b45e41d7
    Steven Whitehouse authored
    
    
    Rather than having to allocate a single block at a time, this patch
    allows the block allocator to allocate an extent. Since there is
    no difference (so far as the block allocator is concerned) between
    data blocks and indirect blocks, it is posible to allocate a single
    extent and for the caller to unrevoke just the blocks required
    for indirect blocks.
    
    Currently the only bit of GFS2 to make use of this feature is the
    build height function. The intention is that gfs2_block_map will
    be changed to make use of this feature in future patches.
    
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    b45e41d7