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

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Jul 11 05:17:20 CEST 2013


At Wed, 10 Jul 2013 22:29:37 +0800,
Liu Yuan wrote:
> 
> v5:
>  - use cpg_node_equal and lnode_eq
> 
> 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(-)
> 

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list