to remove debug print code in production builds. Also removed
function by ifdef that is never used in the project.
(Logical change 1.71)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@254 fd59a12c-fef9-0310-b244-a6a79926bd2f
Increase code coverage from 19.4% to 100% by adding defines
to remove debug print code in production builds. Also removed
function by ifdef that is never used in the project.
BKrev: 4148a813APgP44Mw4XR-P--e0qYzTw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@253 fd59a12c-fef9-0310-b244-a6a79926bd2f
Remove unused code.
crypto.c:
Remove unused code and change some error detection to assertions.
This increases code covergae from 80.2% to 92.7% with no change
in functionality.
BKrev: 4148a3f73A3zw2reb3HkDh6RWIrcag
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@249 fd59a12c-fef9-0310-b244-a6a79926bd2f
This increases code covergae from 80.2% to 92.7% with no change
in functionality.
(Logical change 1.69)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@248 fd59a12c-fef9-0310-b244-a6a79926bd2f
a possible assert with many large messages being sent from multiple
processors at the same time.
(Logical change 1.68)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@247 fd59a12c-fef9-0310-b244-a6a79926bd2f
BUG 37. Fix several leaks during configuration changes. Also fixes
a possible assert with many large messages being sent from multiple
processors at the same time.
BKrev: 4140fd9dwjk3xOLpFw3Ivhp0_f_oYw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@246 fd59a12c-fef9-0310-b244-a6a79926bd2f
into persist.az.mvista.com:/home/sdake/openais
2004/09/08 01:11:43-07:00 mvista.com!sdake
Code coverage support in build environment and test programs.
Many files:
Add signal handler so code coverage records coverage
Makefile:
Add code coverage build options and make clean target
BKrev: 413ebecc_2LPT2fuaQZhw9BymLz6bQ
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@245 fd59a12c-fef9-0310-b244-a6a79926bd2f
Also fix a glaring memory overwrite bug in gmi_init which would
init 256k of memory instead of PACKET_SIZE_MAX memory.
(Logical change 1.66)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@242 fd59a12c-fef9-0310-b244-a6a79926bd2f
Get rid of magic number 1500 and replace with PACKET_SIZE_MAX.
Also fix a glaring memory overwrite bug in gmi_init which would
init 256k of memory instead of PACKET_SIZE_MAX memory.
BKrev: 413e7bc48wgkqG1E4wSbG9KQkBJMkg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@241 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004/09/06 13:30:28-07:00 broked.org!sdake
Added man pages and html generation for the EVS interface.
2004/09/04 16:54:20-07:00 broked.org!sdake
One serious bug in AMF and a few minor nits fixed from patch
from Sakai Miyotaka.
Makefile:
Makefile missing clean target for evs bench. Found and fixed by Sakai Miyotaka.
evs.c:
EVS library makes compiler warning on some compilers. Found and fixed by
Sakai Miyotaka.
amf.c:
State change from standby-active to outofservice could
result in invalid number of active units. Found and fixed by
Sakai Miyotaka.
BKrev: 413dd134zK97xpVttMuRVm6GdcbQlg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@237 fd59a12c-fef9-0310-b244-a6a79926bd2f
activate poll messages are not sent over and over
The message header is read into the return buffer
if the message doesn't match, a new message is allocated
This allows the message buffer for saRecvQueue to be
small, but allows receiving very large messages.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@219 fd59a12c-fef9-0310-b244-a6a79926bd2f
to the library. Also included is an entirely new API called the
EVS api (Extended Virtual Synchrony). This API provides EVS semantics
for those developers that require this model of programming. The
API is defined in include/evs.h and is very simple.
The API provides:
group semantics with 32 byte group keys.
delivery callback
configuration change callback
join one or more groups
leave one or more groups
multicast a message to the instance's joined groups
multicast a message to any other group
Makefile:
Add the testevs and evsbench targets.
evs.c, testevs.c, evsbench.c, evs.h:
new file
Makefile:
Add the evs library
util.c:
Major rewrite of saRecvQueue. Fixed is:
activate poll messages are not sent over and over
The message header is read into the return buffer
if the message doesn't match, a new message is allocated
This allows the message buffer for saRecvQueue to be
small, but allows receiving very large messages.
amf.c:
Mark a bug for later resolution
ais_msg.h:
Add the evs messages and descriptors.
Makefile:
Added the evs target.
main.h:
Added the EVS service and changed the library queue
to 256 entries.
main.c:
major rewrite of the IPC code for sending messages
to the library. What was there previously was very
broken.
gmi.c:
Fix bug where transition from multiple members to
single members would cause messages not to be sent.
Also fixed an assertion in transition from multiple
processors to one processor.
BKrev: 41343518pVUD6aQu4urTw6ClPiOl3w
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@216 fd59a12c-fef9-0310-b244-a6a79926bd2f
single members would cause messages not to be sent.
Also fixed an assertion in transition from multiple
processors to one processor.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@211 fd59a12c-fef9-0310-b244-a6a79926bd2f
Flush all multicast messages by delivering them before
processing the token. This ensures that the mcast fd
doesn't buffer too many old messages and avoids an assert.
BKrev: 412fd3cesE7M-pXl9OZs1X2CyK7Y4A
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@209 fd59a12c-fef9-0310-b244-a6a79926bd2f
processing the token. This ensures that the mcast fd
doesn't buffer too many old messages and avoids an assert.
(Logical change 1.61)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@208 fd59a12c-fef9-0310-b244-a6a79926bd2f