Statistics
| Branch: | Revision:

root / block @ 98a7a38f

Name Size
Makefile.objs 1 kB
backup.c 12.1 kB
blkdebug.c 20 kB
blkverify.c 9 kB
bochs.c 7.2 kB
cloop.c 5.9 kB
commit.c 7.1 kB
cow.c 12.1 kB
curl.c 19.8 kB
dmg.c 10.4 kB
gluster.c 19.6 kB
iscsi.c 42.1 kB
linux-aio.c 5.2 kB
mirror.c 22.4 kB
nbd-client.c 11 kB
nbd-client.h 1.4 kB
nbd.c 10.4 kB
nfs.c 11.7 kB
parallels.c 4.9 kB
qapi.c 20.1 kB
qcow.c 28.6 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.6 kB
qcow2-refcount.c 58.7 kB
qcow2-snapshot.c 21.2 kB
qcow2.c 70.5 kB
qcow2.h 16.4 kB
qed-check.c 6.5 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 47.2 kB
qed.h 10.8 kB
quorum.c 19.4 kB
raw-aio.h 1.6 kB
raw-posix.c 58.1 kB
raw-win32.c 18.8 kB
raw_bsd.c 6.2 kB
rbd.c 24.3 kB
sheepdog.c 69.6 kB
snapshot.c 10.7 kB
ssh.c 29.1 kB
stream.c 7 kB
vdi.c 25.7 kB
vhdx-endian.c 5.2 kB
vhdx-log.c 28.9 kB
vhdx.c 62.6 kB
vhdx.h 19.1 kB
vmdk.c 63.6 kB
vpc.c 24.8 kB
vvfat.c 84.7 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
1c508d17 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_co_flush().

Makes a vote to select error if any.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

98a7a38f 02/21/2014 11:29 pm Benoît Canet

quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum.

This is used to activate quorum snapshot.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

95c6bff3 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum mechanism.

This patchset enables the core of the quorum mechanism.
The num_children reads are compared to get the majority version and if this
version exists more than threshold times the guest won't see the error at all.

If a block is corrupted or if an error occurs during an IO or if the quorum...

d55dee20 02/21/2014 11:29 pm Benoît Canet

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 <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

a28e4c40 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_invalidate_cache().

We really want that live migration works with quorum so implement
quorum_invalidate_cache().

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

13e7956e 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_aio_writev and its dependencies.

Writes are mirrored num_children times on num_children devices.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

f70d7f7e 02/21/2014 11:29 pm Benoît Canet

blkverify: Extract qemu_iovec_clone() and qemu_iovec_compare() from blkverify.

qemu_iovec_compare() will be used to compare IOs vectors in quorum blkverify
mode. The patch extracts these functions in order to factorize the code.

Signed-off-by: Benoit Canet <>...

7db6982a 02/21/2014 11:29 pm Benoît Canet

quorum: Add quorum_aio_readv.

Add code to do num_children reads in parallel and cleanup the structures
afterwards.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>
Signed-off-by: Kevin Wolf <>

27cec15e 02/21/2014 11:29 pm Benoît Canet

quorum: Create quorum.c, add QuorumChildRequest and QuorumAIOCB.

Quorum is a block filter mirroring writes to num_children children.
For reads quorum reads each children and does a vote.
If more than vote_threshold versions are identical the quorum is reached and...

cadebd7a 02/21/2014 11:29 pm Benoît Canet

quorum: Create BDRVQuorumState and BlkDriver and do init.

Create the structure holding the quorum settings and write the minimal block
driver instanciation boilerplate.

Signed-off-by: Benoit Canet <>
Reviewed-by: Max Reitz <>...

View revisions

Also available in: Atom