[sheepdog] [PATCH v3 0/6] add user defined redundancy for erasure code

Liu Yuan namei.unix at gmail.com
Fri Oct 18 20:34:20 CEST 2013


v3:
 - update coding style
 - fold 'vdi check' patch into this series
 - refine help message for -c

Liu Yuan (6):
  erasure: make ec_helpers more generic
  erasure: support user-defined redundancy
  tests/func: add a dedicated test for recovery of erasure code
  lib/fec: fix decode_prepare()
  dog: implement vdi check for erasure coded vdi
  erasure: add ec_decode_buffer() helper

 dog/common.c               |   17 ++-
 dog/dog.h                  |    1 +
 dog/vdi.c                  |  207 ++++++++++++++++++++++++++++-------
 include/fec.h              |   76 ++++++++-----
 include/internal_proto.h   |    7 +-
 lib/fec.c                  |  256 +++++++++++++++++++++++++-------------------
 sheep/gateway.c            |   91 +++++++++-------
 sheep/ops.c                |    2 +-
 sheep/plain_store.c        |   30 ++++--
 sheep/recovery.c           |   53 +++++----
 tests/functional/022       |    4 +-
 tests/functional/029       |   16 +--
 tests/functional/029.out   |  161 +++++++++++++++++++++++++---
 tests/functional/031       |    2 +-
 tests/functional/050       |    2 +-
 tests/functional/052       |   22 ++--
 tests/functional/052.out   |  128 +++++++++++++++-------
 tests/functional/055       |    8 +-
 tests/functional/055.out   |   12 +--
 tests/functional/056       |   12 +--
 tests/functional/056.out   |   10 +-
 tests/functional/058       |    8 +-
 tests/functional/058.out   |    3 +
 tests/functional/076       |   23 ++++
 tests/functional/076.out   |    4 +
 tests/functional/common.rc |    2 +-
 tests/functional/group     |    1 +
 27 files changed, 819 insertions(+), 339 deletions(-)
 create mode 100755 tests/functional/076
 create mode 100644 tests/functional/076.out

-- 
1.7.9.5




More information about the sheepdog mailing list