Commit 32de2ea0 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Rhashtable based buckets_in_flight for copygc



Previously, copygc used a fifo for tracking buckets in flight - this had
the disadvantage of being fixed size, since we pass references to
elements into the move code.

This restructures it to be a hash table and linked list, since with
erasure coding we need to be able to pipeline across an arbitrary number
of buckets.

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