• Kent Overstreet's avatar
    bcachefs: Fix ec_stripes_read() · e222d206
    Kent Overstreet authored
    Change it to not mark keys that will be overwritten by keys in the
    journal - this fixes a bug where we pop an assertion in
    bucket_set_stripe() because of a stale pointer - because the stripe that
    has the stale pointer has been deleted.
    
    This code could be factored out and used elsewhere, at some point.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    e222d206
recovery.c 24.9 KB