[Sheepdog] [PATCH 7/7] sheep: stop checking the first joined node
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Oct 12 15:22:19 CEST 2011
We don't need to care about the master node now.
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
sheep/group.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/sheep/group.c b/sheep/group.c
index 3fb53cb..c6662c2 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -886,12 +886,6 @@ static void __sd_join_done(struct cpg_event *cevent)
struct join_message *jm = &w->jm;
struct node *node, *t;
- if (w->member_list_entries == 1 &&
- node_cmp(&w->joined, &sys->this_node) == 0) {
- sys->join_finished = 1;
- get_global_nr_copies(&sys->nr_sobjs);
- }
-
print_node_list(sys->nodes, sys->nr_nodes);
update_cluster_info(jm, w->member_list, w->member_list_entries);
--
1.7.2.5
More information about the sheepdog
mailing list