[sheepdog] [PATCH v2 0/3] rework update node logic

Liu Yuan namei.unix at gmail.com
Wed Jul 10 07:54:43 CEST 2013


v2:
 - add two clean up patches
 - update this_node in the update_event handler
 - return SD_RES_NO_SUPPORT in shepherd driver

Liu Yuan (3):
  sheep: rework update node logic
  cluster/local: add add_event_lock helpe
  cluster/corosync: rename .ent as .node

 include/internal_proto.h  |    1 -
 sheep/cluster.h           |    9 +++++--
 sheep/cluster/corosync.c  |   62 +++++++++++++++++++++++++++++--------------
 sheep/cluster/local.c     |   64 +++++++++++++++++++--------------------------
 sheep/cluster/shepherd.c  |    5 ++--
 sheep/cluster/zookeeper.c |   37 +++++++++++++++++---------
 sheep/group.c             |   11 +++++---
 sheep/ops.c               |   47 +++------------------------------
 sheep/sheep_priv.h        |    2 --
 9 files changed, 113 insertions(+), 125 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list