Steven Dake
bcc232dcbc
Rename saConnectServiceTwo to saConnectService
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1114 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:18:32 +00:00
Steven Dake
01afe82393
32/64/mixed endian support for checkpoint service.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1074 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-06-21 21:15:16 +00:00
Steven Dake
5bd057566c
Add invalid handle definition
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1014 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-04-27 20:18:44 +00:00
Steven Dake
9a0d93ade8
defect 1116
...
The IPC code spins in recvmsg in the library resulting in poor performance
and deadlock in the AMF service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@945 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-03-08 07:10:51 +00:00
Steven Dake
cf160dd9cd
Fabien's patch for the BSD/Darwin port.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@926 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-21 07:32:00 +00:00
Steven Dake
4b3dd57de9
enhancement 1088
...
This replaces MSG_DONTWAIT with an fcntl to O_NONBLOCK to be more portable
for the BSD port since BSD doesn't support MSG_DONTWAIT properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@923 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-11 22:29:29 +00:00
Steven Dake
c35db8b2c7
defect 1088
...
First patch for porting to BSD systems. This patch removes the WAITALL
flag entirely from the library handlers, as it appears there may be some
portability problems with this flag. The code already handles partial
reads anyway, so it was not necessary.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@920 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-10 22:53:18 +00:00
Steven Dake
a81e56bd60
defect 1068
...
bug in saHandleDestroy could cause extra put on handle when the check is invalid
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@909 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-02-01 20:45:26 +00:00
Steven Dake
8eefe473ef
defect 1046
...
SaErrorT in trunk branch, but only SaAisErrorT should be used
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@902 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-01-24 07:19:11 +00:00
Steven Dake
1bceb1d237
defect 501
...
this patch fixes short reads and writes between the library and executive
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@797 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:37:24 +00:00
Steven Dake
e7f1e9200f
enhancement 813
...
Rename ais_types.h header file to be more compliant with sa forum
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@796 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-17 19:27:25 +00:00
Mark Haverkamp
fbddefe965
Add a check field to the handle structure to make it less
...
likely to get a random valid handle.
Fix a couple bugs in the event service that this change exposed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@791 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-08-05 18:34:53 +00:00
Steven Dake
1bf4e3bb25
defect 734
...
cleanup include files and exports from libraries
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@731 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-07-13 19:57:48 +00:00
Mark Haverkamp
1f1f048efc
Fix version handling code to be B spec compliant.
...
BUG 623.
(Logical change 1.206)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@665 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-15 21:09:42 +00:00
Steven Dake
8a8983126d
defect 595
...
There are various bugs with saCkptCheckpointOpenAsync that result in it
crashing the executive, library, or just failing the saftest conformance
suite.
(Logical change 1.200)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@650 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-06-06 20:19:36 +00:00
Mark Haverkamp
2b18ac9b77
More updates to make event conform to B spec.
...
(Logical change 1.193)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@633 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-05-25 20:46:41 +00:00
Steven Dake
37fb3fca52
defect 188 missed initial checkin
...
(Logical change 1.177)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@597 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-04-15 20:48:57 +00:00
Steven Dake
79d26e0032
Fix merge error in util.c file
...
(Logical change 1.129)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@459 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:56:15 +00:00
Steven Dake
02f3c50c8f
Small fix for data types.
...
(Logical change 1.128)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@458 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:54:01 +00:00
Steven Dake
7716482472
Update to use 64 bit data types for handles.
...
(Logical change 1.127)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@456 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-02-04 19:35:14 +00:00
Steven Dake
b6306c29d5
bug 214
...
Fix pthread mutex not unlocked in error path
(Logical change 1.122)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@434 fd59a12c-fef9-0310-b244-a6a79926bd2f
2005-01-29 18:30:56 +00:00
Steven Dake
54c310f1a1
Fix off by one which oculd cause invalid handle to be used.
...
(Logical change 1.98)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@363 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-10-27 22:24:15 +00:00
Steven Dake
d5fa76ceb9
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.
(Logical change 1.62)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@219 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-31 08:21:44 +00:00
Mark Haverkamp
ecdfa6f923
Need to check the size of the response header here.
...
(Logical change 1.59)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@202 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-23 22:27:07 +00:00
Steven Dake
a697171df7
Add flow control to saRecvQueue function.
...
(Logical change 1.55)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@175 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-20 22:18:34 +00:00
Steven Dake
26a054685d
Change RecvQueue to use a stack structure for receiving the
...
response instead of passing in the maximum sized value for a
response message.
(Logical change 1.48)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@151 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Mark Haverkamp
6da8305de8
Added clustTimeNow to get current time in nanoseconds.
...
(Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@137 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Steven Dake
2cdf0b28d6
Hide handle state and handle instance information
...
in this file instead of in global header file.
(Logical change 1.43)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@123 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:27:13 +00:00
Steven Dake
447bfc6813
Clean up warnings found with -pedantic.
...
(Logical change 1.30)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-11 07:22:12 +00:00
Steven Dake
ec917418d9
Use new APIs for handle reference counting.
...
(Logical change 1.21)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@52 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-06 19:25:41 +00:00
John Cherry
95f17845c6
(Logical change 1.3)
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:04 +00:00
John Cherry
7bede9c4bb
Initial revision
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@4 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-06-15 22:18:03 +00:00