diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-13 13:31:33 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-07-16 17:32:33 -0400 |
commit | 9fe8ec866442b6ee7eac8d5ceda18f88aaa7f78d (patch) | |
tree | 2165fde5ded65afcc1441968a3896abefebf4d94 /scripts/lib/kdoc/kdoc_files.py | |
parent | 6a1c4323defd18ca732c13d9abf4204ea1a4182f (diff) |
bcachefs: Don't build aux search tree when still repairing node
bch2_btree_node_drop_keys_outside_node() will (re)build aux search
trees, because it's also called by topology repair.
bch2_btree_node_read_done() was calling it before validating individual
keys; invalid ones have to be dropped.
If we call drop_keys_outside_node() first, then
bch2_bset_build_aux_tree() doesn't run because the node already has an
aux search tree - which was invalidated by the repair.
Reported-by: syzbot+c5e7a66b3b23ae65d44f@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions