Commit b32f9a57 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Run check_extents_to_backpointers() in multiple passes



Similer to the previous patch for check_backpointers_to_extents(), if
the alloc + backpointers btrees do not fit in ram we need to run into
multiple passes.

The counting of btree nodes that fit in memory is different here,
because we have to walk the alloc and backpointers btrees at the same
time, since a backpointer could reside in either of them and we don't
know which without checking both.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 23792a71
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment