Commit 23792a71 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if necessary



When the extents + reflink btrees don't fit into memory this fsck pass
becomes _much_ slower, since we're doing random lookups.

This patch changes this pass to check how much of the relevant btrees
will fit into memory, and run in multiple passes if needed.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 15949c54
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