diff options
author | 2025-06-25 12:45:11 -0400 | |
---|---|---|
committer | 2025-06-26 00:01:16 -0400 | |
commit | 3e72acb78b73ccffeaf929c039dc5a0a7a147535 (patch) | |
tree | 5a32bd0ae84c907d929172f5f883f4c71a5e3025 /rust/pin-init/internal/src | |
parent | bcachefs: btree_root_unreadable_and_scan_found_nothing should not be autofix (diff) | |
download | wireguard-linux-3e72acb78b73ccffeaf929c039dc5a0a7a147535.tar.xz wireguard-linux-3e72acb78b73ccffeaf929c039dc5a0a7a147535.zip |
bcachefs: Ensure btree node scan runs before checking for scanned nodes
Previously, calling bch2_btree_has_scanned_nodes() when btree node
scan hadn't actually run would erroniously return false - causing us to
think a btree was entirely gone.
This fixes a 6.16 regression from moving the scheduling of btree node
scan out of bch2_btree_lost_data() (fixing the bug where we'd schedule
it persistently in the superblock) and only scheduling it when
check_toploogy() is asking for scanned btree nodes.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions