Commit 55f7962d authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch_alloc->stripe_sectors



Add a separate counter to bch_alloc_v4 for amount of striped data; this
lets us separately track striped and unstriped data in a bucket, which
lets us see when erasure coding has failed to update extents with stripe
pointers, and also find buckets to continue updating if we crash mid way
through creating a new stripe.

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