Re: [Qemu-devel] [PATCH v2 2/2] sheepdog: support user-defined redundancy option

2013-10-29 Thread Benoît Canet
Le Tuesday 29 Oct 2013 à 16:25:52 (+0800), Liu Yuan a écrit : > 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 p

[Qemu-devel] [PATCH v2 2/2] sheepdog: support user-defined redundancy option

2013-10-29 Thread Liu Yuan
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 <