• W
    block: more check for replaced node · e12f3784
    Wen Congyang 提交于
    We use mirror+replace to fix quorum's broken child. bs/s->common.bs
    is quorum, and to_replace is the broken child. The new child is target_bs.
    Without this patch, the replace node can be any node, and it can be
    top BDS with BB, or another quorum's child. We just check if the broken
    child is part of the quorum BDS in this patch.
    Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
    Message-id: 55A86486.1000404@cn.fujitsu.com
    Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
    e12f3784
mirror.c 27.1 KB