• Kent Overstreet's avatar
    bcachefs: Fix promotes · 7b474c77
    Kent Overstreet authored
    The recent work to fix data moves w.r.t. durability broke promotes,
    because the caused us to bail out when the extent minus pointers being
    dropped still has enough pointers to satisfy the current number of
    replicas.
    
    Disable this check when we're adding cached replicas.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    7b474c77
data_update.c 17.9 KB