• Josef Bacik's avatar
    Btrfs: only retry transaction reservation once · 06d5a589
    Josef Bacik authored
    I saw a lockup where we kept getting into this start transaction->commit
    transaction loop because of enospce.  The fact is if we fail to make our
    reservation, we've tried _everything_ several times, so we only need to try and
    commit the transaction once, and if that doesn't work then we really are out of
    space and need to just exit.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    06d5a589
transaction.c 37.1 KB