Re: [PATCH 10/21] votequorum: dispatch notifications only once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 01/10/2012 02:23 AM, Fabio M. Di Nitto wrote:
> From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx>
> 
> Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx>
> ---
> :100644 100644 e56654a... f38bd42... M	services/votequorum.c
>  services/votequorum.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/services/votequorum.c b/services/votequorum.c
> index e56654a..f38bd42 100644
> --- a/services/votequorum.c
> +++ b/services/votequorum.c
> @@ -674,7 +674,6 @@ static void set_quorate(int total_votes)
>  		log_printf(LOGSYS_LEVEL_INFO, "quorum regained, resuming activity\n");
>  
>  	cluster_is_quorate = quorate;
> -	set_quorum(quorum_members, quorum_members_entries, quorate, &quorum_ringid);
>  	ENTER();
>  }
>  
> @@ -905,6 +904,11 @@ static void quorum_confchg_fn (
>  	struct cluster_node *node;
>  
>  	ENTER();
> +
> +	if (configuration_type != TOTEM_CONFIGURATION_REGULAR) {
> +		return;
> +	}
> +
>  	if (member_list_entries > 1)
>  		first_trans = 0;
>  

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux