From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1agV3v-0006by-Vj for qemu-devel@nongnu.org; Thu, 17 Mar 2016 06:21:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1agV3v-0000Qn-5G for qemu-devel@nongnu.org; Thu, 17 Mar 2016 06:21:51 -0400 References: <1457578181-27111-1-git-send-email-xiecl.fnst@cn.fujitsu.com> <1457578181-27111-3-git-send-email-xiecl.fnst@cn.fujitsu.com> <56E653E0.9030808@cn.fujitsu.com> <56EA06E0.7000409@cn.fujitsu.com> <56EA7C62.3090000@cn.fujitsu.com> <20160317094831.GA2504@work-vm> <56EA7F39.9060504@cn.fujitsu.com> From: Wen Congyang Message-ID: <56EA858B.9070408@cn.fujitsu.com> Date: Thu, 17 Mar 2016 18:23:07 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v12 2/3] quorum: implement bdrv_add_child() and bdrv_del_child() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia , "Dr. David Alan Gilbert" Cc: Kevin Wolf , Changlong Xie , zhanghailiang , qemu block , Markus Armbruster , Jiang Yunhong , Dong Eddie , qemu devel , Max Reitz , Gonglei , Stefan Hajnoczi On 03/17/2016 06:07 PM, Alberto Garcia wrote: > On Thu 17 Mar 2016 10:56:09 AM CET, Wen Congyang wrote: >>> We should have the failure modes documented, and how you'll use it >>> after failover etc Without that it's really difficult to tell if this >>> naming is right. >> >> For COLO, children.0 is the real disk, children.1 is replication >> driver. After failure, children.1 will be removed by the user. If we >> want to continue do COLO, we need add a new children.1 again. > > What if children.0 fails ? For COLO, reading from children.1 always fails. if children.0 fails, it means that reading from the disk fails. The guest vm will see the I/O error. Thanks Wen Congyang > > Berto > > > . >