]>
git.proxmox.com Git - mirror_corosync.git/log
Steven Dake [Tue, 22 Sep 2009 07:46:24 +0000 (07:46 +0000)]
Correct pload printing operation.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2473
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 21 Sep 2009 20:08:38 +0000 (20:08 +0000)]
Fix merge error in previous commit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2472
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 21 Sep 2009 19:03:16 +0000 (19:03 +0000)]
Patch from Jerome to fix segfault in dispatch functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2468
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 21 Sep 2009 18:27:37 +0000 (18:27 +0000)]
Fix abort with multiple cpg clients under heavy load.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2467
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 20 Sep 2009 06:56:02 +0000 (06:56 +0000)]
Remove warning in logsys compile related to const correctness.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2463
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 20 Sep 2009 06:53:10 +0000 (06:53 +0000)]
Remove warning in coroipcc.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2462
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 20 Sep 2009 05:36:52 +0000 (05:36 +0000)]
Fix sigpipe handling to ignore sigpipes on systems which support them.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2419
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 20 Sep 2009 05:34:41 +0000 (05:34 +0000)]
Make delete operation work properly in coropoll.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2418
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Wed, 16 Sep 2009 09:02:35 +0000 (09:02 +0000)]
Darwin libraries need -install_name otherwise they're not usable without DYLD_LIBRARY_PATH (which is highly unrecommended)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2417
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 14 Sep 2009 20:27:45 +0000 (20:27 +0000)]
Fix error with revision 2415.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2416
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 14 Sep 2009 18:58:08 +0000 (18:58 +0000)]
Fix dispatch returning TRY_AGAIN when using DISPATCH_ALL parameter because of
regression caused by revision 2046:lib/coroipcc.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2415
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Thu, 10 Sep 2009 01:51:32 +0000 (01:51 +0000)]
log the built-in features at startup
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2411
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 9 Sep 2009 18:58:38 +0000 (18:58 +0000)]
add small-memory-footprint option to configure
This adds the following option to configure:
--enable-small-memory-footprint
When enabled the following defines are set
to reduce the overall memory footprint.
MESSAGE_SIZE_MAX=1024*64
MESSAGE_QUEUE_MAX=512
PROCESSOR_COUNT_MAX=16
IPC_REQUEST_SIZE=1024*64
IPC_RESPONSE_SIZE=1024*64
IPC_DISPATCH_SIZE=1024*64
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2410
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 9 Sep 2009 18:55:17 +0000 (18:55 +0000)]
don't return the ip address when the mask is not found
Currently totemip_copy (boundto,&ipaddr) is called even when the
required mask is not found.
This patch changes the behavior to only copy the ipaddr when the
mask is found.
The current behavior makes debugging an incorrect config really
confusing.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2409
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Wed, 9 Sep 2009 00:25:36 +0000 (00:25 +0000)]
Only insert the filename into the log, not the path.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2408
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 8 Sep 2009 08:19:11 +0000 (08:19 +0000)]
Really add corosync-quorumtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2407
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 8 Sep 2009 08:14:58 +0000 (08:14 +0000)]
Add corosync-quorumtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2406
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 7 Sep 2009 10:41:42 +0000 (10:41 +0000)]
Fix missing symbol error when loading plugins without executive
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2405
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Angus Salkeld [Mon, 7 Sep 2009 08:33:23 +0000 (08:33 +0000)]
Remove a double unlock in logsys.
In logsys there are a number of XYZ_unlocked() functions that are called
like this:
pthread_mutex_lock (&logsys_config_mutex);
XYZ_unlocked();
pthread_mutex_unlock (&logsys_config_mutex);
The XYZ_unlocked() functions should not do any (un)locking.
But _logsys_config_subsys_get_unlocked() unlocks if it finds the subsys.
This means that there is 1 lock and 2 unlocks.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2404
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Mon, 7 Sep 2009 07:28:25 +0000 (07:28 +0000)]
Return CS_ERR_NOT_EXIST if a client tries to contact a plugin that isn't loaded.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2403
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 7 Sep 2009 07:24:15 +0000 (07:24 +0000)]
Fix corosync-tools linking
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2402
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 31 Aug 2009 15:58:12 +0000 (15:58 +0000)]
Real add of corosync-cpgtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2401
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 31 Aug 2009 09:57:20 +0000 (09:57 +0000)]
Initial version of corosync-cpgtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2400
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 31 Aug 2009 09:23:16 +0000 (09:23 +0000)]
Implementation of cpg_iteration functions
This functions allows iterate available cpg groups
and their members. API is modelled like ckpt iteration
functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2399
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 28 Aug 2009 18:20:14 +0000 (18:20 +0000)]
Fix off by one calculation error resulting in assertion.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2398
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 28 Aug 2009 09:36:33 +0000 (09:36 +0000)]
Send CURRENT callbacks to the dispatch FD rather than the callback one.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2397
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Fri, 28 Aug 2009 09:35:18 +0000 (09:35 +0000)]
Fix nodelist passed to the quorum subsystem.
When a node left, the old nodelist was sent, sigh
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2396
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 28 Aug 2009 01:19:30 +0000 (01:19 +0000)]
Fix incorrect assertion with frame sizes of 9000.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2395
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 24 Aug 2009 17:50:12 +0000 (17:50 +0000)]
Allow finalize routines to occur inside dispatch routines.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2394
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 20 Aug 2009 10:50:11 +0000 (10:50 +0000)]
Handle NULL callbacks in cpg, evs and confdb lib
Attached patches handle NULL callbacks in *_initialize
and *_dispatch. Handling is same as in quorum service. Now, when
callback is NULL -> no memcpy -> instance callbacks will have all
items set to NULL and in *_dispatch function is not called.
It changes cfg so now we are using continue instead of exit.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2392
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 19 Aug 2009 09:57:28 +0000 (09:57 +0000)]
Fix found_service_ver handling
Sometimes, when object_key_get doesn't return found_service_ver it
doesn't change old value and this value is then used in atoi what
will can cause fall of corosync. Patch fixes this case by setting
found_service_ver to NULL before call of object_key_get.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2391
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 19 Aug 2009 09:55:49 +0000 (09:55 +0000)]
Fix systems without _POSIX_THREAD_PROCESS_SHARED
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2390
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 17 Aug 2009 18:22:51 +0000 (18:22 +0000)]
Add test program that finds limits of cpg message size.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2389
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 17 Aug 2009 18:22:11 +0000 (18:22 +0000)]
Proper limits checking for message sizes to allow ~1mb max message sizes for corosync.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2388
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 17 Aug 2009 17:18:26 +0000 (17:18 +0000)]
Request user enter characters into terminal if entropy pool is empty for keygen
rather then exiting without creating an auth key.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2387
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jérôme Flesch [Mon, 17 Aug 2009 07:36:17 +0000 (07:36 +0000)]
Fix value returned by lib/coroipcc_dispatch_get() in case recv() fails
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2386
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 12 Aug 2009 06:57:53 +0000 (06:57 +0000)]
Delay forking and closing of fds as much as possible
to allow startup wrappers (such as cman_tool) to collect
as much errors as possible in case of startup failure
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2385
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 10 Aug 2009 15:07:40 +0000 (15:07 +0000)]
Swap item in cpg_joinlist
This patch add swab of header->size so big endian architectures
works with LE list and vica versa.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2384
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 10 Aug 2009 05:39:45 +0000 (05:39 +0000)]
corosync: move logsys thread config with all the others
logsys thread priority was configured after forking the
wthread process and spread the scheduler priority config
across a large chunk of code in main.c
Now that logsys scheduler priority can be invoked at any time,
move the code together with corosync_setscheduler code.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2383
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Mon, 10 Aug 2009 05:32:58 +0000 (05:32 +0000)]
logsys: fix segfault in logsys_thread_priority_set
logsys_thread_priority_set expects that wthread is already running
but doesn't perform any check if it is.
if logsys_thread_priority_set is invoked before forking the thread,
a segfault is guaranteed.
this changes to logsys_thread_priority_set ensure that a request
for a new scheduler priority is queued if the wthread is not
created yet and the new scheduler parameters are applied as early
as possible after the thread is created.
At the same time:
- add a few comments on clean up that needs to be done
- remove a redundant check for policy != SCHED_OTHER as that's
corosync need specific. logsys should simply accept the request
and apply it.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2382
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Tue, 4 Aug 2009 07:39:03 +0000 (07:39 +0000)]
Support for -v (version) feature
This can be usefull for easier way to get informations
of the corosync version from users. Version and SVN
revision (get by svninfo -c) are displayed.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2381
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Tue, 4 Aug 2009 07:14:55 +0000 (07:14 +0000)]
This patch makes a copy of the notifications list before calling the
reload_notifications callbacks. This allows callback functions to
manipulate the notifications list without causing corruption or strange
loops.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2380
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 4 Aug 2009 00:22:41 +0000 (00:22 +0000)]
Use unnamed shared posix semaphores on platforms which support them.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2379
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 4 Aug 2009 00:08:11 +0000 (00:08 +0000)]
Man page cleanups from Steven Whitehouse for cpg service.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2378
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 4 Aug 2009 00:04:13 +0000 (00:04 +0000)]
Always keep autogenerated node ids in totem as LE even on BE arches.
Have testcpg print out autogenerated nodeid properly on BE arch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2377
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 3 Aug 2009 08:11:53 +0000 (08:11 +0000)]
Support for systems where clock_gettime is not available
On some systems clock_gettime is not available so we are
testing availability and value of _POSIX_MONOTONIC_CLOCK.
On system without support of clock_gettime, we are using
old behaviour with function gettimeofday.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2376
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 28 Jul 2009 17:11:29 +0000 (17:11 +0000)]
Fix spec file and update macro usage
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2374
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 27 Jul 2009 10:12:55 +0000 (10:12 +0000)]
Support for monotime timer
This patch should solve problems with corosync and ntp, by using
clock_gettime where it make sense.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2373
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 27 Jul 2009 02:00:05 +0000 (02:00 +0000)]
Add notification when totem has completed initialization.
This triggers the initialization of the service engines which may need totem
for initialization.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2372
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 27 Jul 2009 00:29:32 +0000 (00:29 +0000)]
Add a target token set completed callback in totemrrp and below layers.
Handle management of callback in totemsrp.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2371
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 23 Jul 2009 14:50:56 +0000 (14:50 +0000)]
Handle NULL ver string in service
In case user not enter ver: in service section, whole
corosync falled with segfaul, because atoi was called
on NULL.
Now, in case of NULL, we rather not use atoi, and
return 0 directly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2370
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 22 Jul 2009 22:10:35 +0000 (22:10 +0000)]
Optimization of totemsrp and below by removing hdb usage. cpgbench shows
results of 4% to 20% increase in tps and mbs depending on hardware.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2369
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 22 Jul 2009 08:25:45 +0000 (08:25 +0000)]
Support for service.d
This patch is very similar to uidgid.d patch, but support for loading
services (so read service section).
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2368
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 21 Jul 2009 18:17:15 +0000 (18:17 +0000)]
Initial infrastructure changes to support iba. Split totemnet into
totemiba and totemudp and have totemnet call the appropriate transport
calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2367
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 21 Jul 2009 01:31:39 +0000 (01:31 +0000)]
Darwin is missing the sched_setscheduler system call.
Patch detects it and resolves the build failure.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2366
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 20 Jul 2009 14:57:06 +0000 (14:57 +0000)]
Cpg synchronization patch for conf change messages
The root of the theoretical problem is that cpg_join or cpg_leave
messages are being sent via the C apis between synchronization. With
the current cpg, synchronization happens in confchg_fn, and then later
in cpg_sync_process. cpg_sync_process is called much later after
confchg_fn and introduces a small probability of a window of time for
queued in totem (but not yet ordered by totem) for those cpg_join and
cpg_leave operations to interact with the synchronization process which
should happen in one atomic operation but currently is two distinct
operations.
This patch deletes confchg_fn and make sends joinlist/downlist
in cpg_sync_process.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2365
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Mon, 20 Jul 2009 14:53:18 +0000 (14:53 +0000)]
Allow only one connection per (node, pid, grp)
This patch allows only one connection per (node, pid, grp_name) tuple.
This means, you cannot make more connection from one process to same
group_name. This is (I hope) how cpg should behave. In case, you will
try to do that, CPG_ERR_EXISTS error is returned.
Of course, there is no problem with creating:
- more connection with same (pid, grp) if nodeid is different
- more connection with same (node, grp) if pid is different (for example
after fork, or two distinct processes)
- more connection with same (node, pid) if grp is different (connect
one process to more cpgs).
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2364
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 16 Jul 2009 12:16:06 +0000 (12:16 +0000)]
Add lcoroipcc as build requirement for stress_cpgcontext
This is needed for build without errors on system, where
lcoroipcc is not installed on system yet.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2363
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Tue, 14 Jul 2009 12:34:18 +0000 (12:34 +0000)]
Use the preferred prefix for the Pacemaker service
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2362
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 13 Jul 2009 16:46:13 +0000 (16:46 +0000)]
Add NAME entries to manpages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2360
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 10 Jul 2009 12:54:56 +0000 (12:54 +0000)]
add stress_cpgcontext.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2359
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 10 Jul 2009 12:29:50 +0000 (12:29 +0000)]
Add stress_cpgfdget test case.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2358
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 10 Jul 2009 12:05:48 +0000 (12:05 +0000)]
Add stress test case for cpg and coroipcc zero copy buffer alloc and free
operations.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2357
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 10 Jul 2009 11:49:51 +0000 (11:49 +0000)]
Fix segfault when using zcb api of coroipcc under certain loads.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2356
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 10 Jul 2009 04:55:34 +0000 (04:55 +0000)]
Bump version in trunk
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2355
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 8 Jul 2009 05:23:33 +0000 (05:23 +0000)]
Add poll destroy to coroipcs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2348
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 8 Jul 2009 05:14:47 +0000 (05:14 +0000)]
Add more tested platforms to list.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2347
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 8 Jul 2009 05:06:51 +0000 (05:06 +0000)]
Updated INSTALL file.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2346
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jérôme Flesch [Thu, 2 Jul 2009 07:47:04 +0000 (07:47 +0000)]
BSD support: Fix EOF handling in coroipcs.c:req_setup_recv() and coroipcs:coroipcs_handler_dispatch()
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2345
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 20:57:37 +0000 (20:57 +0000)]
Add ring id field to evs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2341
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 20:29:55 +0000 (20:29 +0000)]
Set version field in totem header in case it isn't set by default.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2340
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 20:21:48 +0000 (20:21 +0000)]
Pass handle is evs callback functions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2339
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 20:04:20 +0000 (20:04 +0000)]
Send ERR_SECURITY when invalid security context is provided via ipc clients.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2338
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 20:03:07 +0000 (20:03 +0000)]
Set ERR_SECURITY to 100 to give plenty of room for other people's error codes.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2337
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 19:55:18 +0000 (19:55 +0000)]
Fix build on bsd systems.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2336
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 19:48:14 +0000 (19:48 +0000)]
Align syncv2 on 8 byte boundaries.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2335
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 19:37:59 +0000 (19:37 +0000)]
Make compatibility mode none work properly.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2334
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 19:19:06 +0000 (19:19 +0000)]
Code cleanup for evs service from Wojtek.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2333
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Wed, 1 Jul 2009 13:36:00 +0000 (13:36 +0000)]
Don't deliver cpg messages from unknown nodes
This patch fixes situation, when in the middle of
sync some node will send regular message before
another node will receive confch message, and regular
message is delivered to application. From application
point of view, this node is unknown -> don't expect
any messages.
Now, no such messages are delivered to application.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2332
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:33:22 +0000 (06:33 +0000)]
Add context get set man pages for evs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2331
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:32:49 +0000 (06:32 +0000)]
Add new man pages to Makfile.am
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2330
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:27:00 +0000 (06:27 +0000)]
Add context get and set operations to evs handles and man pages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2329
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:24:19 +0000 (06:24 +0000)]
Add context get/set to See Also section of cpg man pages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2328
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:20:23 +0000 (06:20 +0000)]
Add see also reference to context get/set operation.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2327
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:18:56 +0000 (06:18 +0000)]
Add votequorum_context_get/set man pages.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2325
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 1 Jul 2009 06:18:25 +0000 (06:18 +0000)]
Add man pages for confdb_context_get/set operations.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2324
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Tue, 30 Jun 2009 09:27:27 +0000 (09:27 +0000)]
remove unnecessary #include
* exec/evil.c: Don't include <signal.h>.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2323
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Tue, 30 Jun 2009 09:27:20 +0000 (09:27 +0000)]
remove trailing blanks
* corosync.spec.in:
* exec/evil.c:
* exec/main.c:
* exec/mainconfig.c:
* exec/syncv2.c:
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2322
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 30 Jun 2009 07:05:50 +0000 (07:05 +0000)]
Reset version to 0.99 in configure.ac to unbreak rpm/srpm.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2321
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 29 Jun 2009 23:32:17 +0000 (23:32 +0000)]
Reset 0.98 in configure.ac to trunk so toplevel makefile works properly
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2319
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 29 Jun 2009 23:24:24 +0000 (23:24 +0000)]
Export poll handle via coroapi.h.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2318
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 29 Jun 2009 23:16:32 +0000 (23:16 +0000)]
Fix segfault during dispatch within confdb library.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2317
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 06:03:06 +0000 (06:03 +0000)]
Static-ize some main.c variables.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2316
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 05:26:25 +0000 (05:26 +0000)]
Simplify notifications from totem at the notice level.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2315
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 05:21:14 +0000 (05:21 +0000)]
Remove hard coded sync values and use defines from coroapi.h.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2314
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 05:12:27 +0000 (05:12 +0000)]
Slay the debug messages coming out at notice level in totem.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2313
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 04:57:31 +0000 (04:57 +0000)]
Remove totemsrp warning.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2312
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 04:51:38 +0000 (04:51 +0000)]
Allow syncv2 to determine membership list when run in compatibility mode.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2311
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 04:50:18 +0000 (04:50 +0000)]
Follow synchronization model of event service so corosync without openais
service engines can communicate with the openais whitetank event service
in compatibility mode.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2310
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 28 Jun 2009 00:16:54 +0000 (00:16 +0000)]
Send fake barriers for the event service when operating in compatibility mode
whitetank.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2309
fd59a12c -fef9-0310-b244-
a6a79926bd2f