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

bcachefs: Convert gc to new accounting



Rewrite fsck/gc for the new accounting scheme.

This adds a second set of in-memory accounting counters for gc to use;
like with other parts of gc we run all trigger in TRIGGER_GC mode, then
compare what we calculated to existing in-memory accounting at the end.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4c4a7d48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment