diff options
| author | Kent Overstreet <[email protected]> | 2022-11-26 04:37:11 -0500 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:51 -0400 |
| commit | cc65f5659941a4d30608b47c3edfadb5e0e7b02e (patch) | |
| tree | 98a7ec20cdb702fff9d8c3196051851cfff37f66 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 7c057d35098613b2936c361aa8289590fef987ba (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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions