• Stephen Lord's avatar
    XFS: busylist fixups · 4b2892ba
    Stephen Lord authored
    xfs_alloc_put_freelist marks the blocks it gets as "busy".  However, this
    function is used in two different ways:
       
      1.  xfs_alloc_fix_freelist calls xfs_alloc_put_freelist to add new
      blocks to the freelist (that is, blocks it allocated with
      xfs_alloc_ag_vextent).
       
      2.  xfs_alloc_delrec calls xfs_alloc_put_freelist to free deleted
      b+tree blocks.  
       
    In case 1, the blocks should not be on the busy list; in case 2, they
    should.
    
    Modid: 2.5.x-xfs:slinx:129987a
    4b2892ba
xfs_alloc_btree.c 67.4 KB