]> Git Repo - qemu.git/commit
quorum: validate vote threshold against num_children even if read-pattern is fifo
authorWen Congyang <[email protected]>
Fri, 3 Jul 2015 06:45:06 +0000 (14:45 +0800)
committerMax Reitz <[email protected]>
Fri, 4 Sep 2015 19:00:32 +0000 (21:00 +0200)
commit834cb2ada5db197a11c99142d50222945d196fc0
treecb92ccf3ac78e8fbc4599aedca2f5aa1b07d2576
parent909c260c71d1bee7018e17034580ffd0743508db
quorum: validate vote threshold against num_children even if read-pattern is fifo

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 <[email protected]>
Message-id: 55962F72.3060003@cn.fujitsu.com
Reviewed-by: Alberto Garcia <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Max Reitz <[email protected]>
block/quorum.c
This page took 0.019353 seconds and 4 git commands to generate.