[Sheepdog] [PATCH v2 0/7] simplify sheep/group.c
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Thu Oct 20 09:24:25 CEST 2011
This patchset depends on the blocking callback patchset I just sent
The first patch moves node membership management to the cluster
driver, and the rest ones clean up sheep/group.c.
Changes from v1 to v2 are:
- rebase
- move check_join_cb to the join_handler arguments
- register cluster fd before calling cdrv->join()
- remove needless function calls
- fix some bugs which occurs when added node is invalid
MORITA Kazutaka (7):
sheep: move node membership management into cluster driver
sheep: remove notification message type
sheep: remove joining flag
sheep: clean up struct join_message
sheep: remove message state
sheep: remove node_list
sheep: stop checking the first joined node
sheep/cluster.h | 83 ++--
sheep/cluster/corosync.c | 465 ++++++++++++++-----
sheep/group.c | 1151 +++++++++++++++-------------------------------
sheep/sheep_priv.h | 20 +-
4 files changed, 738 insertions(+), 981 deletions(-)
--
1.7.2.5
More information about the sheepdog
mailing list