aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-11-30 13:25:17 -0500
committerKent Overstreet <[email protected]>2023-10-22 17:09:51 -0400
commitd23124c757490641c2ec8281d54079aea3f3a7ad (patch)
tree25bc1f7ab78dce9853db8d7f15c7ae0e68a13b19 /tools/perf/scripts/python
parentcc65f5659941a4d30608b47c3edfadb5e0e7b02e (diff)
bcachefs: Improve bch2_check_alloc_info()
This factors out a new helper from bch2_dev_freespace_init(), bch2_get_key_or_hole(), and uses it in bch2_check_alloc_info(): we're now able to process holes in the alloc btree as ranges, instead of one bucket at a time. This will improve fsck performance on new filesystems, or filesystems where not every bucket has been used yet. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions