Commit 4b1e6699 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Erasure coding: Track open stripes



This adds a new hash table for stripes being created or updated, instead
of hackily relying on the stripes heap.

This lets us reserve the slot for the new stripe up front, at the same
time as we would pick an existing stripe - if we were updating an
existing stripe - making the overall code more consistent.

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