diff options
| author | Kent Overstreet <[email protected]> | 2025-06-25 16:45:11 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-06-26 04:01:16 +0000 |
| commit | 3e72acb78b73ccffeaf929c039dc5a0a7a147535 (patch) | |
| tree | 5a32bd0ae84c907d929172f5f883f4c71a5e3025 /rust/helpers/vmalloc.c | |
| parent | bcachefs: btree_root_unreadable_and_scan_found_nothing should not be autofix (diff) | |
| download | kernel-3e72acb78b73ccffeaf929c039dc5a0a7a147535.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
