[sheepdog] [PATCH v2 0/5] Allow operating with only x nodes alive

MORITA Kazutaka morita.kazutaka at gmail.com
Sat Oct 26 18:23:32 CEST 2013


At Sat, 26 Oct 2013 20:17:46 +0800,
Liu Yuan wrote:
> 
> v2:
>  - fold erasure: simplify ec_decode_buffer() and erasure: allow y >= x in x:y scheme
>    into this patch set.
>  - change uint8_t idx to int
>  - use max instead of MAX
> 
> This patch set enable users to enjoy the services with only x nodes alive in
> x:y redundancy scheme.
> 
> Previous we need (x + y) nodes alive at least without interrupting services.
> 
> Liu Yuan (5):
>   erasure: simplify ec_decode_buffer()
>   sheep: introduce ec_max_data_strip
>   sheep: allow operating when nr_zones >= nr_data_strip
>   tests/func/076: test erasure coding with only x nodes alive
>   erasure: allow y >= x in x:y scheme
> 
>  dog/vdi.c                |   12 +++-----
>  include/fec.h            |    3 +-
>  lib/fec.c                |    5 ++--
>  sheep/ops.c              |    3 +-
>  sheep/plain_store.c      |   13 --------
>  sheep/recovery.c         |   25 +++++-----------
>  sheep/sheep_priv.h       |    1 +
>  sheep/vdi.c              |   14 +++++++++
>  tests/functional/029     |   10 +++----
>  tests/functional/029.out |   75 +++++++++++++++++++++++++++++++++-------------
>  tests/functional/076     |   20 +++++++++++++
>  tests/functional/076.out |    3 ++
>  12 files changed, 116 insertions(+), 68 deletions(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list