Re: [Qemu-devel] [PATCH v3] more check for replaced node

2015-09-02 Thread Stefan Hajnoczi
On Fri, Jul 17, 2015 at 10:12:22AM +0800, Wen Congyang wrote: > 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, o

Re: [Qemu-devel] [PATCH v3] more check for replaced node

2015-08-18 Thread Wen Congyang
Ping... On 07/17/2015 10:12 AM, Wen Congyang wrote: > 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

[Qemu-devel] [PATCH v3] more check for replaced node

2015-07-16 Thread 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