[sheepdog] [PATCH 00/10] erasure code support, round 4

Liu Yuan namei.unix at gmail.com
Tue Oct 15 16:36:33 CEST 2013


This is the final round of erasure coding series. This patch set enables
snapshot/clone/cluster snapshot/ capabilities for erasured vdi and include
previous snapshot tests to work against erasured vdi.

All the tests are passed on my box with './check -ec'

'vdi check' against erasured vdi is left as a future work

Thanks
Yuan

Liu Yuan (10):
  sheep: get object size correctly
  sheep: fix cluster_notify_vdi_add
  sheep: rework cow object handling
  sheep: don't set copies unnecessarily
  sheep: cleanup preallocate
  sheep: fix default_create_and_write()
  dog/farm: fix copy_policy for cluster snapshot operation
  sheep: set SD_FLAG_CMD_WRITE in sd_init_req
  tests/functional: make snapshot related tests to work with erasure
    code
  dog: print warning when checking erasured vdi

 dog/cluster.c            |    2 +-
 dog/common.c             |   11 ++++++-
 dog/dog.h                |    1 +
 dog/farm/farm.c          |    7 +++--
 dog/vdi.c                |   10 +++++--
 include/sheep.h          |    2 ++
 sheep/gateway.c          |   53 +++++++++++++++++++++++++++++----
 sheep/md.c               |    4 +--
 sheep/object_cache.c     |   24 +++------------
 sheep/ops.c              |   73 +++++-----------------------------------------
 sheep/plain_store.c      |   16 +++++-----
 sheep/sheep_priv.h       |    2 ++
 sheep/store.c            |    6 ----
 tests/functional/013     |    6 ++--
 tests/functional/013.out |    1 -
 tests/functional/016     |    8 ++---
 tests/functional/016.out |    3 ++
 tests/functional/017     |    8 ++---
 tests/functional/017.out |    2 --
 tests/functional/030     |   24 +++++++--------
 tests/functional/030.out |   44 ++++++++++++++--------------
 tests/functional/039     |    8 ++---
 tests/functional/039.out |   32 ++++++++++----------
 tests/functional/041     |    8 ++---
 tests/functional/041.out |   60 ++++++++++++++++++-------------------
 tests/functional/044     |   12 ++++----
 tests/functional/044.out |    3 ++
 tests/functional/046     |   10 +++----
 tests/functional/046.out |   12 ++++----
 tests/functional/059     |    6 ++--
 tests/functional/059.out |   22 +++++++-------
 tests/functional/075     |    6 ++--
 32 files changed, 235 insertions(+), 251 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list