diff options
author | Alan Huang <mmpgouride@gmail.com> | 2024-08-15 23:40:53 +0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-09 09:41:49 -0400 |
commit | 94932a0842ccebe413cd8205632a537f275c100d (patch) | |
tree | c3890d08b1373b071da1ea6d653c0487a6e6bfdd /tools/perf/scripts/python/stackcollapse.py | |
parent | f1625637b85191a0ac6f9ebf2b30d8b335f08547 (diff) |
bcachefs: Refactor bch2_bset_fix_lookup_table
bch2_bset_fix_lookup_table is too complicated to be easily understood,
the comment "l now > where" there is also incorrect when where ==
t->end_offset. This patch therefore refactor the function, the idea is
that when where >= rw_aux_tree(b, t)[t->size - 1].offset, we don't need
to adjust the rw aux tree.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions