[Openais] [PATCH 13/13] libqb: fix timer handle definition

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- include/corosync/engine/coroapi.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/corosync/engine/coroapi.h b/include/corosync/engine/coroapi.h index 47962de..63aa97a 100644 --- a/include/corosync/engine/coroapi.h +++ b/include/c

[Openais] [PATCH 11/13] libqb: set the timeout on recv's to -1 (wait forever)

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- include/corosync/corotypes.h |1 + lib/cfg.c| 28 +--- lib/confdb.c | 40 lib/cpg.c|4 ++-- lib/evs.c| 10 +++

[Openais] [PATCH 12/13] libqb: missing * QB_TIME_NS_IN_MSE

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/totemsrp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/exec/totemsrp.c b/exec/totemsrp.c index 53d0b0f..29267dc 100644 --- a/exec/totemsrp.c +++ b/exec/totemsrp.c @@ -1432,7 +1432,7 @@ static void reset_pause_timeout (struct tote

[Openais] [PATCH 06/13] CTS: add an audit to check for leaking shared memory

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- cts/agents/Makefile.am |4 +- cts/agents/shm_leak_audit.sh | 47 ++ cts/corolab.py |3 +- cts/corosync.py | 39 ++ 4 files changed, 89 insertions(+

[Openais] [PATCH 07/13] CTS: make test agent shutdown more gracefully

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- cts/agents/common_test_agent.c | 44 +++- cts/agents/common_test_agent.h |3 +- cts/agents/confdb_test_agent.c | 10 +-- cts/agents/cpg_test_agent.c| 33 +++--- cts/agents/sam_te

[Openais] [PATCH 10/13] TEST: fix the print out when cpg_finalize() fails

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- test/cpgbench.c |2 +- test/cpgbenchzc.c |5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/cpgbench.c b/test/cpgbench.c index aab29fa..efd0f28 100644 --- a/test/cpgbench.c +++ b/test/cpgbench.c @@ -190,7 +190,7 @@ int main (vo

[Openais] [PATCH 09/13] CPG: call disconnect even if corosync has gone.

2010-12-21 Thread Angus Salkeld
If corosync segfaults we will leak shared memory. Signed-off-by: Angus Salkeld --- lib/cpg.c |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/lib/cpg.c b/lib/cpg.c index 0bbc61c..560e04d 100644 --- a/lib/cpg.c +++ b/lib/cpg.c @@ -250,20 +250,11 @@ cs_error_t cpg_f

[Openais] [PATCH 08/13] CPG: fix cpg_finalize()

2010-12-21 Thread Angus Salkeld
It was failing with -ENOBUFS as we passed the incorrect size into the recv. Signed-off-by: Angus Salkeld --- lib/cpg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/cpg.c b/lib/cpg.c index 9a463d4..0bbc61c 100644 --- a/lib/cpg.c +++ b/lib/cpg.c @@ -248,7 +248,7 @@

[Openais] [PATCH 05/13] libqb: use the new cs_strerror() to print out the error message.

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- tools/corosync-objctl.c | 73 +++--- 1 files changed, 43 insertions(+), 30 deletions(-) diff --git a/tools/corosync-objctl.c b/tools/corosync-objctl.c index f9bce65..0705bb1 100644 --- a/tools/corosync-objctl.c +++ b/tool

[Openais] [PATCH 04/13] libqb: fix some confusing error conversions.

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- exec/util.h |2 +- include/corosync/corotypes.h |4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/exec/util.h b/exec/util.h index 519254a..729ef34 100644 --- a/exec/util.h +++ b/exec/util.h @@ -80,7 +80,7 @@ static in

[Openais] [PATCH 02/13] libqb: change errno_to_cs to qb_to_cs_error

2010-12-21 Thread Angus Salkeld
--- include/corosync/corotypes.h |1 - lib/cfg.c| 30 +- lib/confdb.c | 47 - lib/cpg.c| 12 +- lib/pload.c |2 +- lib/quorum.c

[Openais] [PATCH 03/13] libqb: add a cs_strerror() to get a more meaningful message

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- lib/util.h | 99 1 files changed, 99 insertions(+), 0 deletions(-) diff --git a/lib/util.h b/lib/util.h index f581092..1d86deb 100644 --- a/lib/util.h +++ b/lib/util.h @@ -50,4 +50,103 @@ #define IPC

[Openais] [PATCH 01/13] libqb: fix error conversion from errno to cs_error_t in confdb

2010-12-21 Thread Angus Salkeld
Signed-off-by: Angus Salkeld --- lib/confdb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/confdb.c b/lib/confdb.c index 39732aa..b2b79d8 100644 --- a/lib/confdb.c +++ b/lib/confdb.c @@ -146,7 +146,7 @@ cs_error_t confdb_initialize ( error = CS_OK;

[Openais] more patches for topic-libqb

2010-12-21 Thread Angus Salkeld
These iron out some bugs and generally improve the topic branch. I'll look into whether or not the CPG patches are applicable to the master branch. Regards Angus ___ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation