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

Liu Yuan namei.unix at gmail.com
Wed Jul 10 10:15:00 CEST 2013


v4:
 - return ->update_node() ret code
 - tab and typo fixes

v3:
 - call ->update_node() directly

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 helper
  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               |   48 +---------------------------------
 sheep/sheep_priv.h        |    2 --
 9 files changed, 111 insertions(+), 128 deletions(-)

-- 
1.7.9.5




More information about the sheepdog mailing list