[sheepdog] [PATCH 0/3] simplify join process

MORITA Kazutaka morita.kazutaka at gmail.com
Wed Jul 3 08:49:20 CEST 2013


From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>

This is the first series to refactor sheep/group.c and the cluster
drivers.  This simplifies the current join process a lot and will
improve code readability.  The other changes like removing a master
will be sent after this series is merged.

The first two patches prepare for the third one.


MORITA Kazutaka (3):
  sheep: split cluster_info into system_info and cluster_info
  sheep: access config entries with one function call
  sheep: start cluster if all the nodes in the previous epoch are
    gathered

 include/internal_proto.h  |   48 ++---
 include/shepherd.h        |    5 +-
 sheep/cluster.h           |    2 +
 sheep/cluster/corosync.c  |   16 +-
 sheep/cluster/local.c     |   21 +--
 sheep/cluster/shepherd.c  |   32 +---
 sheep/cluster/zookeeper.c |   20 +-
 sheep/config.c            |   56 ++----
 sheep/group.c             |  444 ++++++++++-----------------------------------
 sheep/ops.c               |   55 ++----
 sheep/recovery.c          |    7 +-
 sheep/request.c           |   24 +--
 sheep/sheep.c             |    4 +-
 sheep/sheep_priv.h        |   21 +--
 sheep/store.c             |    6 +-
 sheep/vdi.c               |    2 +-
 shepherd/shepherd.c       |    8 +-
 tests/functional/001      |   13 --
 tests/functional/001.out  |   19 +-
 tests/functional/002      |   14 --
 tests/functional/002.out  |   18 +-
 tests/functional/003      |   14 --
 tests/functional/003.out  |   18 +-
 tests/functional/004      |   16 --
 tests/functional/004.out  |   39 +---
 tests/functional/005      |   17 --
 tests/functional/005.out  |   45 +----
 tests/functional/060      |   17 +-
 28 files changed, 227 insertions(+), 774 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list