commit | eece075cda38f55fc5829b5f9ec5fb919c561d81 | [log] [tgz] |
---|---|---|
author | Guoqing Jiang <gqjiang@suse.com> | Fri Jul 10 17:01:21 2015 +0800 |
committer | NeilBrown <neilb@suse.com> | Mon Aug 31 19:42:31 2015 +0200 |
tree | 05d178e80b53e1fbda2544d45c9372bb3de53e04 | |
parent | 6e6d9f2cda47745a3abcb6609b1dee0e831161d8 [diff] |
md-cluster: only call complete(&cinfo->completion) when node join cluster Introduce MD_CLUSTER_BEGIN_JOIN_CLUSTER flag to make sure complete(&cinfo->completion) is only be invoked when node join cluster. Otherwise node failure could also call the complete, and it doesn't make sense to do it. Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.com>