diff options
author | 2024-08-15 23:40:53 +0800 | |
---|---|---|
committer | 2024-09-09 09:41:49 -0400 | |
commit | 94932a0842ccebe413cd8205632a537f275c100d (patch) | |
tree | c3890d08b1373b071da1ea6d653c0487a6e6bfdd /tools/perf/scripts/python | |
parent | bcachefs: Assert that we don't lock nodes when !trans->locked (diff) | |
download | wireguard-linux-94932a0842ccebe413cd8205632a537f275c100d.tar.xz wireguard-linux-94932a0842ccebe413cd8205632a537f275c100d.zip |
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')
0 files changed, 0 insertions, 0 deletions