• Kent Overstreet's avatar
    bcachefs: bch_alloc->stripe_sectors · 55f7962d
    Kent Overstreet authored
    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>
    55f7962d
buckets.c 44.1 KB