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
Change network configuration parser interface to support
multipathing.
gmi.h, main.c:
Change gmi interface to support multipathing.
parse.c:
Change network configuration parser to read multiple interfaces.
gmi.c:
Add initial support for multipathing to group messaging.
BKrev: 412a981dC8TjKSqUYOtAx6jKoO-UlA
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@204 fd59a12c-fef9-0310-b244-a6a79926bd2f
value for each done type. Also, libais_disconnect cleaned up
so it doesn't ais_done when its queues are full. Instead it
disconnects the library connection. A new connection state
variable added to the conn_info structure in place of active.
(Logical change 1.58)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@200 fd59a12c-fef9-0310-b244-a6a79926bd2f
Changed number of queueable messages to the library from 8192
to 128 messages.
main.c:
Clean up usage of ais_done. This includes passing a
value for each done type. Also, libais_disconnect cleaned up
so it doesn't ais_done when its queues are full. Instead it
disconnects the library connection. A new connection state
variable added to the conn_info structure in place of active.
amf.c:
Use new connection enumeration with AMF code.
BKrev: 41297f85ZsPdr8oHUfjQ6v_A6b6ybw
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@197 fd59a12c-fef9-0310-b244-a6a79926bd2f
Missed commit to changes for queue.h.
ais_msg.h:
Missed commit of changes to ais_msg.h.
BKrev: 41292695YG_qjNyfkNoFlMFaeiR7zg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@195 fd59a12c-fef9-0310-b244-a6a79926bd2f
Add flow control documentation to devmap.
Add event service to devmap.
BKrev: 412922454HMPjB41f5bgMaos4soalg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@192 fd59a12c-fef9-0310-b244-a6a79926bd2f
misc flow control changes.
ckptbenchth.c:
Retry checkpoint writes on threaded writes if SA_ERR_TRY_AGAIn
received.
ckptbench.c:
Add flow control support to the checkpoint benchmark program.
util.c:
Add flow control to saRecvQueue function.
evt.c:
Add flow control to eventing.
clm.c:
Add flow control to cluster membership.
ckpt.c:
Add flow control to checkpointing.
amf.c:
Add flow control to amf.
Makefile:
Cleanup errors in Makefile.
main.h:
Flow control changes.
handlers.h:
Change interface so there is a new libais_handler structure.
gmi.h:
Add support to group messaging for another priority level.
main.c:
Add support to disconnect and dispatch to utilize flow control.
gmi.c:
Add support to group messaging to get flow control information.
evt.c:
Add support to eventing for flow control.
clm.c:
Add support to clm for flow control.
ckpt.c:
Add support for flow control to ckpt library.
amf.c:
Add support for flow control to amf library.
BKrev: 412678baBKkyszbWcphf0Vg85SpLXg
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@185 fd59a12c-fef9-0310-b244-a6a79926bd2f