• Kent Overstreet's avatar
    bcachefs: bch_stripe.disk_label · fa85c473
    Kent Overstreet authored
    When reshaping existing stripes, we should keep them on the same target
    that they were allocated on; to do this, we need to add a field to the
    btree stripe type.
    
    This is a tad awkward, because we only have 8 bits left, and targets are
    16 bits - but we only need to store a label, not a full target.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    fa85c473
ec.c 57.3 KB