Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2574e95a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Refactor disk accounting data structures


Break up the percpu counter allocations into individual allocations for
each disk accounting counter; this fixes an issue on large systems where
we have too many replica entries to for the percpu allocator's max
practical size.

Also, use just one eytzinger tree for the normal set of counters and the
gc counters; this simplifies accounting_gc_done() where we need the same
set of counters to be present in both tables.

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