• Kent Overstreet's avatar
    bcachefs: Fix stripe reuse path · 5be6a274
    Kent Overstreet authored
    It's possible that we reuse a stripe that doesn't have quite the same
    configuration as the stripe_head we're allocating from. In that case, we
    have to make sure that the new stripe uses the settings from the stripe
    we resue, not the stripe head, and make sure the buffer is allocated
    correctly.
    
    This fixes the ec_mixed_tiers test.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    5be6a274
errcode.h 6.55 KB