aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-06-22 15:52:00 +0300
committerDavid Sterba <[email protected]>2021-06-22 14:51:48 +0200
commit3ffad6961db6c44b324e4ee5a8025e5f63c657d7 (patch)
tree58c402e1ea484eb5b0bed31945376553cab82ef2 /tools/testing/selftests/bpf/prog_tests
parent048085539243bfd43839fe3dc6cbc02b0c620fdc (diff)
btrfs: rip the first_ticket_bytes logic from fail_all_tickets
This was a trick implemented to handle the case where we had a giant reservation in front of a bunch of little reservations in the ticket queue. If the giant reservation was too large for the transaction commit to make a difference we'd ENOSPC everybody out instead of committing the transaction. This logic was put in to force us to go back and re-try the transaction commit logic to see if we could make progress. Instead now we know we've committed the transaction, so any space that would have been recovered is now available, and would be caught by the btrfs_try_granting_tickets() in this loop, so we no longer need this code and can simply delete it. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions