On 06/01/2010 06:47 AM, Lars Ekman G wrote:
>
> Hello,
>
> I wrote a trivial test-program that uses the evs service and
> prints configuration changes. I started it on 4 processors
> in a cluster and rebooted one. But I did not get any cfg-change
> event in my program (running on the remaining 3 processors).
>
> After some hours of troubleshooting I found that the patch below
> fixed the problem.
>
> Is this a bug or have I missed something?
>
Thanks for the patch. Your change is correct and has been merged.
We don't have alot of automated testing around evs - I recommend taking
a look at cpg if it fits your application needs.
Regards
-steve
> I can post/send the program and the corosync configuration if
> necessary. I am using corosync-1.2.3.
>
> Thanks,
> Lars Ekman
>
>
> corosync-1.2.3> diff -u services/evs.c.orig services/evs.c
> --- services/evs.c.orig 2010-06-01 15:31:17.000000000 +0200
> +++ services/evs.c 2010-06-01 15:31:36.000000000 +0200
> @@ -250,7 +250,7 @@
> */
> for (list = confchg_notify.next; list !=&confchg_notify; list =
> list->next) {
> evs_pd = list_entry (list, struct evs_pd, list);
> - api->ipc_response_send (evs_pd->conn,
> + api->ipc_dispatch_send (evs_pd->conn,
> &res_evs_confchg_callback,
> sizeof (res_evs_confchg_callback));
> }
>
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais