[sheepdog] [PATCH v2 0/4] reimplements manual object recovery

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Sep 12 09:05:03 CEST 2012


Changes from v1:
 - add a helper function 'has_scheduled_objects' to make the recovery
   design easier to understand.

As we discussed before, the current manual recovery requires big
changes to handle leave node events and this series replaces it with
the simpler delay recovery code.  The behavior of the new design is
like 'lazy recovery'; only accessed objects will be recovered.

MORITA Kazutaka (4):
  Revert "collie: add cluster recover info command"
  Revert "sheep: do the real work of dsiable/enable recovery"
  sheep: add support for manual recovery
  tests: rewrite 010 to test new manual recovery

 collie/cluster.c         |   64 +------------
 include/internal_proto.h |    4 +-
 sheep/group.c            |   77 +++-----------
 sheep/ops.c              |   38 +-------
 sheep/recovery.c         |   51 ++++++++--
 sheep/sheep_priv.h       |    8 +--
 tests/010                |   61 +++++++++--
 tests/010.out            |  250 +++++++++++++++++++++++++++++++++++++++++++++-
 8 files changed, 360 insertions(+), 193 deletions(-)

-- 
1.7.2.5




More information about the sheepdog mailing list