Commit Graph

1140 Commits

Author SHA1 Message Date
Steven Dake
6b8e9e6264 Endian conversion for the lock service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1165 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 07:32:43 +00:00
Steven Dake
afb4ca0606 Use memb_ring_id_copy for alignment purposes on 64 aligned arches and keep
the port id in host byte order until it is used in the totem protocol stack.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1164 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 07:21:08 +00:00
Steven Dake
b11d49db6b Add endian cleanup fixes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1163 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 07:11:26 +00:00
Steven Dake
8cb23508df Clean up endian swabbing for cpg service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1162 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 07:07:22 +00:00
Steven Dake
30d6647139 Fix where setsockopt is bound to in totemnet.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1161 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:58:28 +00:00
Steven Dake
e6d3f3b1da Cleanup comparisons in lcr_ifact and use strtok_r instead of junky parser.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1160 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:57:52 +00:00
Steven Dake
f4e89f2ffc Add errno.h include since it was removed from swab.h.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1159 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:55:10 +00:00
Steven Dake
edecf224c4 Remove bunch of unused includes from swab.h.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1158 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:53:50 +00:00
Steven Dake
4946f988eb Fix processor count in evs interface.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1157 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:51:17 +00:00
Steven Dake
2228f8b4ff Endian cleanup for the clm service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1156 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-26 06:50:22 +00:00
Steven Dake
fe0261332e Allow build type of COVERAGE for code coverage analysis
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1152 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-24 01:34:17 +00:00
Steven Dake
ba0fa40c9a Ensure make install works with recent libcfg changes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1151 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 20:30:29 +00:00
Patrick Caulfield
7eb9ed2c45 Add a 'family' parameter to totemip_parse so it can be told to look for
either IPv4 or IPv6 addresses, or both.

As we get the (unambiguous) multicast address first, we can make sure we always
look for the right type of node address afterwards.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1150 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 12:22:05 +00:00
Steven Dake
8f20b62d39 Increase IPC thread stack size from 100k to 200k to accomodate larger data
structures in ipc message handlers (for the CLM service).


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1149 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 09:01:12 +00:00
Steven Dake
1f5928e54e Remove TODO for swabbing conn data structure
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1148 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 03:30:40 +00:00
Steven Dake
b9b771b391 Validate IO Vector elements in a saCkptCheckpointWrite operation
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1147 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 03:26:22 +00:00
Steven Dake
064c3588a1 Remove TODO comment that has long been fixed in the code.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1146 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 03:18:03 +00:00
Steven Dake
19ad21f536 Correct malloc of checkpoint iteration size from 500 bytes to max section id
size bytes for the created checkpoint


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1145 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 03:07:14 +00:00
Steven Dake
a67178dbdf Reduce memory usage in large configurations by dynamically allocating
fragmentation assembly buffer.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1144 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 02:39:21 +00:00
Steven Dake
c32045f303 Remove marshall TODO items as they are not needed
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1143 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-21 02:33:13 +00:00
Steven Dake
f00b9f2f1f Remove unnecessary exit from testevs
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1142 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-20 22:39:22 +00:00
Steven Dake
5a8a45cd42 Remove debug printf in totemsrp
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1141 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-20 10:01:57 +00:00
Steven Dake
95561593c4 Don't segfault if unauthorized user connects
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1140 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-20 04:51:32 +00:00
Steven Dake
24777c184f Make checkpoint service work according to specifications with regards to the
unlink operation.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1139 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-20 04:50:15 +00:00
Steven Dake
24cc0d7f15 Remove compile warning from cfgtool commit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1138 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-19 19:33:20 +00:00
Steven Dake
640cfba2ab Add support for reenabling a failed redundant ring and printing ring status
through the test/opeanis-cfgtool application.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1137 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-19 19:31:01 +00:00
Patrick Caulfield
b776747e9a Send the new joinlists using the sync service, so it happens atomically.
This should fix some odd sequencing bugs.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1136 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-19 15:32:25 +00:00
Patrick Caulfield
5d7b5f7fdd printing ipv6 addresses often needs more than a 32 byte buffer. THis could
causes a crash with sone ipv6 installations.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1135 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-18 06:33:39 +00:00
Steven Dake
f4cc7da60e Support for ia64 arch builds.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1133 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 22:36:13 +00:00
Steven Dake
45ec255e2c Fix synchronization not working properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1132 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 21:52:55 +00:00
Steven Dake
a0c8b0c9d9 Event marshalling patch for 32/64/endian support.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1131 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 20:16:14 +00:00
Steven Dake
bca534f38c If version field is NULL as passed to saClmInitialize, return INVALID_PARAM
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1130 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:18:19 +00:00
Steven Dake
4b14eb0001 If TRACK_CURRENT is specified in CLM service and notify buffer is null,
return tracking data in callback as per specification.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1129 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:17:47 +00:00
Steven Dake
f44141fe11 Remove debug printf in track stop operation
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1128 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:15:47 +00:00
Steven Dake
cb5e848f3b Check for invalid handles first in API calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1127 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:14:33 +00:00
Steven Dake
3cde5246a6 If the max section size is less then the read size, return INVALID_PARAM.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1126 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 06:12:11 +00:00
Steven Dake
b67675edc5 Return INVALID_PARAM when section read is larger then checkpoint section
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1125 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-17 02:20:37 +00:00
Steven Dake
918da2cd8d CheckpointRead wasn't checking the active replica was set.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1124 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-16 21:58:35 +00:00
Steven Dake
1af43fd206 The creation attributes set bit wasn't set from the library to executive
message handlers causing significant problems with open was called from a app.


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1123 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-16 21:50:39 +00:00
Steven Dake
5a45b27fdc The open flags are used before they are verified to be valid.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1122 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-16 21:49:36 +00:00
Steven Dake
a778bba481 Proper barrier operation as requested.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1121 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-14 21:09:57 +00:00
Steven Dake
2e5f058714 Add support for s390 and s390x architectures.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1120 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-13 22:02:47 +00:00
Steven Dake
75b73bc3e0 Fix library renames to 2.0.0 as needed by distros.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1119 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-13 21:57:35 +00:00
Steven Dake
e167fbc727 Update to checkpoint service to use new APIs as rest of services do.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1118 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-11 23:41:56 +00:00
Steven Dake
ef039b2973 Fix broken timers when release type set to RELEASE
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1117 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 23:51:43 +00:00
Steven Dake
a569293a27 Remove dead definition of struct queue
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1116 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:22:21 +00:00
Steven Dake
cb148dbdc8 Missing commit from previous rename of saServiceConnectTwo
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1115 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:19:46 +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
fbfe92f7da Fix typo in saMsg.h header file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1113 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:12:49 +00:00
Steven Dake
cd52f094b0 Rev versions to 2.0 and update versions script for all services
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1112 fd59a12c-fef9-0310-b244-a6a79926bd2f
2006-07-10 22:11:43 +00:00