• C
    Btrfs: stop avoiding balancing at the end of the transaction. · b3612421
    Chris Mason 提交于
    When the delayed reference code was added, some checks were added
    to avoid extra balancing while the delayed references were being flushed.
    This made for less efficient btrees, but it reduced the chances of
    loops where no forward progress was made because the balances made
    more delayed ref updates.
    
    With the new dead root removal code and the mixed back references,
    the extent allocation tree is no longer using precise back refs, and
    the delayed reference updates don't carry the risk of looping forever
    anymore.  So, the balance avoidance is no longer required.
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    b3612421
ctree.c 108.9 KB