• L
    [XFS] Restore the lowspace extent allocator algorithm · b877e3d3
    Lachlan McIlroy 提交于
    When free space is running low the extent allocator may choose to allocate
    an extent from an AG without leaving sufficient space for a btree split
    when inserting the new extent (see where xfs_bmap_btalloc() sets minleft
    to 0). In this case the allocator will enable the lowspace algorithm which
    is supposed to allow further allocations (such as btree splits and
    newroots) to allocate from sequential AGs. This algorithm has been broken
    for a long time and this patch restores its behaviour.
    
    SGI-PV: 983338
    
    SGI-Modid: xfs-linux-melb:xfs-kern:31358a
    Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
    Signed-off-by: NDavid Chinner <dgc@sgi.com>
    b877e3d3
xfs_bmap_btree.c 69.8 KB