[Openais] [PATCH 7/7] libqb: remove tsafe.c

2010-11-08 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/Makefile.am |4 +- exec/main.c |4 - exec/tsafe.c | 1058 -- exec/tsafe.h | 43 --- 4 files changed, 2 insertions(+), 1107 deletions(-) delete mode 100644 exec/tsafe.c delete mode 10

[Openais] [PATCH 3/7] libqb: make timer api a wrapper around qb_loop timers.

2010-11-08 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- README.devmap |5 +- exec/Makefile.am |2 +- exec/apidef.c |7 +- exec/main.c |5 - exec/timer.c | 266 + exec/timer.h | 19 +-- exec/tlist.h | 31

[Openais] [PATCH 6/7] libqb: remove worker thread - keep to one thread.

2010-11-08 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/Makefile.am |6 +- exec/totemsrp.c |1 - exec/totemudp.c | 117 +- exec/wthread.c | 215 -- exec/wthread.h | 67 - 5 files changed, 5 insertions(

[Openais] [PATCH 5/7] libqb: use the main loop to shutdown

2010-11-08 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- cts/agents/syncv2.c | 13 +++ exec/main.c | 96 --- exec/service.c | 79 -- 3 files changed, 80 insertions(+), 108 deletions(-) diff --git a/cts/agents/

[Openais] [PATCH 4/7] libqb: rip out unneccessary locks

2010-11-08 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/main.c | 17 - exec/objdb.c|9 - exec/totempg.c | 40 include/corosync/cs_queue.h | 30 -- 4 files changed, 0 i

[Openais] [topic-libqb] re-worked patch series without the hdb & list changes

2010-11-08 Thread Angus Salkeld
Hi I have re worked these patches so that there is not an unneccessaryly large amount of namespace changes (these can be done at any time later). this should also help in cherry picking patches between branches. The hdb patch was very extensive! This series makes corosync have only one pthread -

Re: [Openais] [Pacemaker] Corosync using unicast instead of multicast

2010-11-08 Thread Steven Dake
On 11/08/2010 05:50 AM, Dan Frincu wrote: > Hi, > > Steven Dake wrote: >> On 11/05/2010 01:30 AM, Dan Frincu wrote: >>> Hi, >>> >>> Alan Jones wrote: This question should be on the openais list, however, I happen to know the answer. To get up and running quickly you can configure bro

Re: [Openais] [Corosync] [FreeBSD] Fix client deconnection when Corosync is compiled with --enable-debug

2010-11-08 Thread Vladislav Bogdanov
08.11.2010 14:47, Jerome Flesch wrote: > Hello, > > On FreeBSD, when a client is disconnected by Corosync, there is an > assert() that fails on the client side. The assert assumes that, since > the poll() call was ok, recvmsg() will also be ok. However, this is not > true on BSD systems. This is

[Openais] [Corosync] [Patch] [FreeBSD] Fix client deconnection when Corosync is compiled with --enable-debug

2010-11-08 Thread Jerome Flesch
(I forgot the tag "[Patch]" in the subject, sorry) On 08.11.2010 13:47, Jerome Flesch wrote: Hello, On FreeBSD, when a client is disconnected by Corosync, there is an assert() that fails on the client side. The assert assumes that, since the poll() call was ok, recvmsg() will also be ok. Howev

Re: [Openais] [Pacemaker] Corosync using unicast instead of multicast

2010-11-08 Thread Dan Frincu
Hi, Steven Dake wrote: > On 11/05/2010 01:30 AM, Dan Frincu wrote: >> Hi, >> >> Alan Jones wrote: >>> This question should be on the openais list, however, I happen to know >>> the answer. >>> To get up and running quickly you can configure broadcast with the >>> version you have. >>> >> I've done

[Openais] [Corosync] [FreeBSD] Fix client deconnection when Corosync is compiled with --enable-debug

2010-11-08 Thread Jerome Flesch
Hello, On FreeBSD, when a client is disconnected by Corosync, there is an assert() that fails on the client side. The assert assumes that, since the poll() call was ok, recvmsg() will also be ok. However, this is not true on BSD systems. This patch makes sure EOF are correctly handled on BSD