aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-07-21 10:22:28 -0400
committerDavid Sterba <[email protected]>2020-10-07 12:06:53 +0200
commitf3bda421c16fe2f67cb3ff81b65ce8de331dd8e2 (patch)
treec382df51968f1260d6ea991a6b365066fdd2b6cd /tools/perf/scripts/python/exported-sql-viewer.py
parent0532a6f8b6ce64ced0ffcca0a2ab5d66a8eb9a6d (diff)
btrfs: use the same helper for data and metadata reservations
Now that data reservations follow the same pattern as metadata reservations we can simply rename __reserve_metadata_bytes to __reserve_bytes and use that helper for data reservations. Things to keep in mind, btrfs_can_overcommit() returns 0 for data, because we can never overcommit. We also will never pass in FLUSH_ALL for data, so we'll simply be added to the priority list and go straight into handle_reserve_ticket. Reviewed-by: Nikolay Borisov <[email protected]> Tested-by: Nikolay Borisov <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions