diff options
| author | Filipe Manana <fdmanana@suse.com> | 2023-03-21 11:13:55 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-04-17 18:01:19 +0200 |
| commit | 0e55a54502b977ded5fba30f8afdf450fdee94b7 (patch) | |
| tree | d06914c0f9336e2ef34e871d7bb3c4cc26e38cc9 /tools/perf/scripts/python/compaction-times.py | |
| parent | f4160ee8789806a74445db3592b08fdd8eceeea2 (diff) | |
btrfs: add helper to calculate space for delayed references
Instead of duplicating the logic for calculating how much space is
required for a given number of delayed references, add an inline helper
to encapsulate that logic and use it everywhere we are calculating the
space required.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
