summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-06-11 18:10:24 +0100
committerDavid Sterba <dsterba@suse.com>2025-07-21 23:58:03 +0200
commitfdeffeb4f58797eb2ca3194a16eb1b49637ac0d4 (patch)
treee7d3b7b91ddb9f597d3f2597c2dbc7eb849e8de2 /tools/perf/scripts/python/exported-sql-viewer.py
parentd1ac35ae2a51e8f06360aa535b8d0f13800a0861 (diff)
btrfs: add and use helper to determine if using bitmaps in free space tree
When adding and removing free space to the free space tree, we need to lookup the respective block group's free info item in the free space tree, check its flags for the BTRFS_FREE_SPACE_USING_BITMAPS bit and then release the path. Move these steps into a helper function and use it in both sites. This will also help avoiding duplicate code in a subsequent change. Reviewed-by: Boris Burkov <boris@bur.io> 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions