qemu-irix/block
Liu Yuan b3af018f3b sheepdog: support user-defined redundancy option
Sheepdog support two kinds of redundancy, full replication and erasure coding.

# create a fully replicated vdi with x copies
 -o redundancy=x (1 <= x <= SD_MAX_COPIES)

# create a erasure coded vdi with x data strips and y parity strips
 -o redundancy=x:y (x must be one of {2,4,8,16} and 1 <= y < SD_EC_MAX_STRIP)

E.g, to convert a vdi into sheepdog vdi 'test' with 8:3 erasure coding scheme

$ qemu-img convert -o redundancy=8:3 linux-0.2.img sheepdog:test

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-11-29 13:40:37 +01:00
..
Makefile.objs
backup.c block: introduce BDRV_REQ_MAY_UNMAP request flag 2013-11-28 10:30:51 +01:00
blkdebug.c
blkverify.c
bochs.c
cloop.c
commit.c
cow.c COW: Extend checking allocated bits to beyond one sector 2013-11-29 13:40:36 +01:00
curl.c
dmg.c
gluster.c
iscsi.c iscsi: add bdrv_co_write_zeroes 2013-11-28 10:30:52 +01:00
linux-aio.c
mirror.c block: per caller dirty bitmap 2013-11-29 13:40:33 +01:00
nbd.c
parallels.c
qapi.c qapi: Change BlockDirtyInfo to list 2013-11-29 13:40:36 +01:00
qcow.c
qcow2-cache.c
qcow2-cluster.c block: add flags to bdrv_*_write_zeroes 2013-11-28 10:30:51 +01:00
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c block: add flags to bdrv_*_write_zeroes 2013-11-28 10:30:51 +01:00
qcow2.h
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c block: add flags to bdrv_*_write_zeroes 2013-11-28 10:30:51 +01:00
qed.h
raw-aio.h
raw-posix.c block: Print its file name if backing file opening failed 2013-11-14 13:09:06 +01:00
raw-win32.c block: Print its file name if backing file opening failed 2013-11-14 13:09:06 +01:00
raw_bsd.c block/raw: copy BlockLimits on raw_open 2013-11-28 10:30:51 +01:00
rbd.c
sheepdog.c sheepdog: support user-defined redundancy option 2013-11-29 13:40:37 +01:00
snapshot.c
ssh.c
stream.c block/stream: Don't stream unbacked devices 2013-11-28 11:39:31 +01:00
vdi.c
vhdx-endian.c block: vhdx - move more endian translations to vhdx-endian.c 2013-11-07 13:58:59 +01:00
vhdx-log.c
vhdx.c block: vhdx - add .bdrv_create() support 2013-11-07 13:58:59 +01:00
vhdx.h block: vhdx - add .bdrv_create() support 2013-11-07 13:58:59 +01:00
vmdk.c block: add flags to bdrv_*_write_zeroes 2013-11-28 10:30:51 +01:00
vpc.c
vvfat.c
win32-aio.c