From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTwRk-0000XW-43 for qemu-devel@nongnu.org; Mon, 24 Aug 2015 14:26:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTwRg-0000fd-UV for qemu-devel@nongnu.org; Mon, 24 Aug 2015 14:26:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTwRg-0000fP-PC for qemu-devel@nongnu.org; Mon, 24 Aug 2015 14:26:12 -0400 References: <55962F72.3060003@cn.fujitsu.com> From: Max Reitz Message-ID: <55DB61C0.6040808@redhat.com> Date: Mon, 24 Aug 2015 20:26:08 +0200 MIME-Version: 1.0 In-Reply-To: <55962F72.3060003@cn.fujitsu.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] quorum: validate vote threshold against num_children even if read-pattern is fifo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang , qemu-devl , Alberto Garcia Cc: Stefan Hajnoczi On 03.07.2015 08:45, Wen Congyang wrote: > We need to use threshold to check if too many write operation fails. > If threshold is larger than num children, we always get write error > event even if all write operations success. > > Signed-off-by: Wen Congyang > --- > block/quorum.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: Max Reitz