[Sheepdog] [PATCH v2 7/7] sheep: stop checking the first joined node

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Oct 20 09:24:32 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 f76dc01..e7b53b0 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -982,12 +982,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