]> Git Repo - qemu.git/commit
quorum: Add quorum_getlength().
authorBenoît Canet <[email protected]>
Fri, 21 Feb 2014 21:21:16 +0000 (22:21 +0100)
committerKevin Wolf <[email protected]>
Fri, 21 Feb 2014 21:29:50 +0000 (22:29 +0100)
commitd55dee2044791a02394a3db7055cedac68dca26b
treeb79abcebcf1f8d2831f9846e961edcd4e86dabbf
parent95c6bff3561eedaf7c7de287bc4a002720605a8d
quorum: Add quorum_getlength().

Check that every bs file returns the same length.
Otherwise, return -EIO to disable the quorum and
avoid length discrepancy.

Signed-off-by: Benoit Canet <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/quorum.c
This page took 0.02571 seconds and 4 git commands to generate.