aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-11-26 04:37:11 -0500
committerKent Overstreet <[email protected]>2023-10-22 17:09:51 -0400
commitcc65f5659941a4d30608b47c3edfadb5e0e7b02e (patch)
tree98a7ec20cdb702fff9d8c3196051851cfff37f66 /tools/perf/scripts/python/bin
parent7c057d35098613b2936c361aa8289590fef987ba (diff)
bcachefs: Improve bch2_dev_freespace_init()
This makes bch2_dev_freespace_init() much faster: instead of processing every bucket on the device one at a time, we handle ranges of missing keys all at once: the freespace btree is an extents style btree, so we only have to insert one freespace key for every range of missing keys in the alloc btree. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions