[sheepdog] [PATCH v2 0/5] erasure code support, round 2

Liu Yuan namei.unix at gmail.com
Sat Oct 12 14:13:30 CEST 2013


v2:
 - fix decode_prepare()

This patch set add basic recoery support which can handle a single node
join or leave.

Mutiple node join/leave events will be implemented in next series.

Liu Yuan (5):
  lib/fec: remove neglected leftover init_fec() in fec_new
  sheep: use ec_index to remember strip placement
  sheep: make stale object erasure aware
  lib/fec: rework ec_decode
  sheep: add basic recovery support for erasure code

 include/fec.h            |   17 +++--
 include/sheepdog_proto.h |    4 +-
 lib/fec.c                |   87 +++++++++++++++++++++++-
 sheep/gateway.c          |    1 +
 sheep/object_cache.c     |    2 +-
 sheep/ops.c              |    2 +
 sheep/plain_store.c      |   63 +++++++++++++++--
 sheep/recovery.c         |  170 ++++++++++++++++++++++++++++++++++++++++++----
 sheep/sheep_priv.h       |   10 +--
 9 files changed, 319 insertions(+), 37 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list