summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bbpos.h
AgeCommit message (Collapse)Author
2023-10-22bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if ↵Kent Overstreet
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: Kent Overstreet <kent.overstreet@linux.dev>