Angus Salkeld
56eaee9561
cleanup the last of the SAF headers and types
...
This includes the rename of identifiers from corosync to cs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1689 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-11-06 21:49:07 +00:00
Steven Dake
01b8bc6ab2
Finish the renaming of openais to corosync in the tree.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1646 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-08-15 06:15:26 +00:00
Steven Dake
e1f531380a
Revert patch 1633 which breaks build.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1636 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-08-14 16:44:26 +00:00
Steven Dake
c4a1c7eb96
Change all occurances of openais to corosync.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1633 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-08-14 16:04:01 +00:00
Fabien Thomas
0c92a5e564
reorganize include file to match installed tree to build openais without installing corosync; correct some warnings and error under FreeBSD and Darwin
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1632 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-08-14 14:59:50 +00:00
Steven Dake
617dbdf2f0
Split openais and corosync tree into two seperate repositories.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1622 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-08-05 13:23:46 +00:00
Steven Dake
46babc95ad
Initial move of corosync and openais trees into seperate directories.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1582 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-07-21 07:59:08 +00:00
Steven Dake
46b0163813
Change all email addresses that were sdake@mvista.com to sdake@redhat.com.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1541 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-05-12 13:48:06 +00:00
Steven Dake
632d33d4e7
Make sure to unlock the handle database on a failure condition.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1485 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-11-28 18:05:51 +00:00
Steven Dake
e132bc580c
Expose utils to the user
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1442 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:58:41 +00:00
Steven Dake
adb37f5d49
Now that -l is set correclt yuse #include <header.h> instead of using quotes.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1441 fd59a12c-fef9-0310-b244-a6a79926bd2f
2007-09-09 06:57:41 +00:00
Fabien Thomas
cdb8452805
handle case where POLLHUP or POLLERR are not supported by OS
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1311 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-11-23 08:49:21 +00:00
Fabien Thomas
76bffbc3e4
correct fd leak on error case
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1229 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-08-24 15:54:10 +00:00
Fabien Thomas
7f1ba08543
correct broken POLLHUP, POLLERR under BSD
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1228 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-08-24 15:48:25 +00:00
Steven Dake
90ccff6bbc
Solaris port for openais
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1175 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-08-05 02:22:12 +00:00
Steven Dake
6a00f63ff9
Patch so realloc reverts to old buffer if reallocation fails.
...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1170 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-28 23:34:28 +00:00
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