]>
git.proxmox.com Git - mirror_corosync.git/log
Steven Dake [Fri, 26 Jun 2009 21:39:44 +0000 (21:39 +0000)]
Add ability to detect process pause and not implode the membership algorithm
when this occurs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2304
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 21:18:38 +0000 (21:18 +0000)]
Previously if a process was interrupted by a signal it could become unkillable
because the operation was retried on signal interrupts.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2303
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 21:15:19 +0000 (21:15 +0000)]
Add syncv2.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2302
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 02:50:38 +0000 (02:50 +0000)]
Add AMF_V2_SERVICE defintion
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2301
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 01:20:06 +0000 (01:20 +0000)]
Fix build error in evil.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2300
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 00:53:43 +0000 (00:53 +0000)]
Fix no boottime support warning.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2299
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 26 Jun 2009 00:25:52 +0000 (00:25 +0000)]
Add compatability option in config file. Defaults to whitetank.
Add sync_mode to coroapi to indicate to corosync the service engine's
desired compatibility mode.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2298
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 25 Jun 2009 23:20:38 +0000 (23:20 +0000)]
definition error in corodefs.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2297
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 25 Jun 2009 22:07:26 +0000 (22:07 +0000)]
sync-v1 onwire compat layer for raw corosync to communicate with whitetank.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2296
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 25 Jun 2009 20:55:16 +0000 (20:55 +0000)]
Define CMAN and CRM service ids.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2295
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 25 Jun 2009 17:24:44 +0000 (17:24 +0000)]
Convert got joinlist message notice to debug level.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2294
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 25 Jun 2009 17:09:28 +0000 (17:09 +0000)]
Add support for make srpm and make rpm targets
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2293
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 25 Jun 2009 11:06:24 +0000 (11:06 +0000)]
Fix make dist target
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2292
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 25 Jun 2009 10:22:23 +0000 (10:22 +0000)]
Add database lock init to hdb_* functions
Without this, lock can be called to unitialized and locking unitialized
lock isn't good idea.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2291
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Thu, 25 Jun 2009 10:21:54 +0000 (10:21 +0000)]
Add locking of database in hdb_handle_refcount_get
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2290
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 24 Jun 2009 05:21:13 +0000 (05:21 +0000)]
Remove totempg debug message.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2289
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 24 Jun 2009 01:01:57 +0000 (01:01 +0000)]
Add assembly to free list when it is removed from a configuration change as
indicated by being in the left list.
This has side effect of clearing the assembly buffer the next time it is
referenced from the free list. This fixes a defect that stops forward
processing of the message streams because sync fails to finish when receiving
a sync message from a restarted processor because it throws away the message.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2288
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Ryan O'Hara [Tue, 23 Jun 2009 22:28:31 +0000 (22:28 +0000)]
Add hdb_handle_refcount_get call.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2287
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jun 2009 17:09:24 +0000 (17:09 +0000)]
Tidy's up startup printfs.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2286
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jun 2009 05:53:05 +0000 (05:53 +0000)]
Change startup notice to Corosync Cluster Engine.
Change 2008 to 2009 in copyright.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2285
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 23 Jun 2009 05:50:04 +0000 (05:50 +0000)]
Remove "AIS" string from exit notice.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2284
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Jun 2009 18:50:29 +0000 (18:50 +0000)]
Remove warning by casting properly in totemnet.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2283
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Jun 2009 18:29:43 +0000 (18:29 +0000)]
Rename request_shutdown to shutdown_request in coroapi.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2282
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Jun 2009 18:18:15 +0000 (18:18 +0000)]
Add dump_state to coroapi.h. Need to remove logging output from signal
handlers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2281
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 22 Jun 2009 05:32:41 +0000 (05:32 +0000)]
Sanitize -p option to not set scheduling parameters in all software.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2280
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Sun, 21 Jun 2009 18:27:02 +0000 (18:27 +0000)]
totemsrp: remove unnecessary cast to avoid "make syntax-check" failure
* exec/totemsrp.c (message_handler_memb_join): Remove unnecessary
cast of alloca return value.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2279
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 21 Jun 2009 16:46:24 +0000 (16:46 +0000)]
Use HAVE_ALLOCA_H define before including alloca.h
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2278
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 21 Jun 2009 16:33:25 +0000 (16:33 +0000)]
Add tests for posix scheduling apis to configure.ac and use them to determine
if we should set scheduling priorities or not.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2277
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 21 Jun 2009 05:02:09 +0000 (05:02 +0000)]
Work around dlopen'ed objects not executing constructors on solaris platform.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2276
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 21 Jun 2009 04:49:33 +0000 (04:49 +0000)]
Remove hdb constructor usage.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2275
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Jun 2009 17:36:04 +0000 (17:36 +0000)]
Remove timersub redefine.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2274
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Jun 2009 17:34:59 +0000 (17:34 +0000)]
Set nosigpipe socket option on platforms that send sigpipes in coroipcc.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2273
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Jun 2009 17:34:10 +0000 (17:34 +0000)]
Remove use without init warning which is harmless.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2272
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sat, 20 Jun 2009 17:33:38 +0000 (17:33 +0000)]
Remove shadow warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2271
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 19 Jun 2009 20:43:12 +0000 (20:43 +0000)]
Add (void *) casts for iovector assignments to remove compile warnings.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2270
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 19 Jun 2009 15:53:13 +0000 (15:53 +0000)]
Fix unused variable on linux because of portage work.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2268
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 19 Jun 2009 15:42:15 +0000 (15:42 +0000)]
Patch from Wojtek to fix Solaris segfault with compiler optimization.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2267
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Fri, 19 Jun 2009 11:34:50 +0000 (11:34 +0000)]
maint: remove trailing blanks
By running this command from a git-cloned directory:
git grep -z -l -E '[[:blank:]]+$' | xargs -0 perl -pi -e 's/[ \t]+$//'
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2266
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 19 Jun 2009 07:02:55 +0000 (07:02 +0000)]
Fix handling of sysconfdir
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2265
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 19 Jun 2009 04:58:00 +0000 (04:58 +0000)]
Install basic operational directories
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2264
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Fri, 19 Jun 2009 04:57:22 +0000 (04:57 +0000)]
Remove tags from example configuration
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2263
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 19 Jun 2009 01:53:24 +0000 (01:53 +0000)]
Warn user of missing dirs and exit gracefully.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2262
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Fri, 19 Jun 2009 00:03:56 +0000 (00:03 +0000)]
Remove requirement of having uid and gid of "ais" on the system and allow
nonroot users to access ipc if their uid/gid is in the /etc/corosync/uidgid.d
directory.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2261
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 18 Jun 2009 23:08:16 +0000 (23:08 +0000)]
Sanitize output of autogen.sh.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2260
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 18 Jun 2009 21:32:45 +0000 (21:32 +0000)]
Ensure Linux, BSD, Solaris, Darwin function with security authentication in
IPC system.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2259
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 19:52:37 +0000 (19:52 +0000)]
Fix rec_ident encoding for IPC
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2258
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 19:16:14 +0000 (19:16 +0000)]
use $(INSTALL) instead of install for portability to other OS'es
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2257
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 18:14:00 +0000 (18:14 +0000)]
flight recorder: enable temporary 0 buffer size protection
The flight recoder doesn't handle a 0 byte allocation properly
and it would fail miserably by allocating a single PAGE_SIZE
to handle the logging. That means an enormous performance hit
because of the constant wrapping around the buffer.
If any requested buffer is < 64000 bytes, then force to at least
64000.
In future we will be able to handle small buffers properly, but
for now enable a simple workaround to protect us and the user.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2256
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 17:40:41 +0000 (17:40 +0000)]
flight recorder: switch from int to bytes for requested allocation
The flight recoder buffer size as specified in LOGSYS_DECLARE_SYSTEM
or _logsys_rec_init was expressed in number of ints. A developer asking
to allocate 512K would get a 2M allocation on a machine with sizeof(int) = 4.
This is confusing and the patch addresses it:
- rename rec_size to fltsize for external API (no type change),
because rec_size is used many times internally for other reasons
and it can be confusing.
- rename size to fltsize in _logsys_rec_init.
- document what we allocate and why.
- swap comments around to match the code.
- introduce a simple macro to perform rounding (stolen from linux-2.6.git).
- start shaping fdata header to better handle dynamic values:
* write the flt_data_size as first unsigned int the header.
* change corosync-fplay to read the value and alloc the right amount
of memory instead of hardcoding it again.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2255
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 18 Jun 2009 05:58:24 +0000 (05:58 +0000)]
Add Jerome to AUTHORS file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2254
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Thu, 18 Jun 2009 05:53:16 +0000 (05:53 +0000)]
add madvise nosync calls for bsd platform.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2253
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:39:28 +0000 (05:39 +0000)]
logsys: remove leftover files from running tests
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2252
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:33:48 +0000 (05:33 +0000)]
flight recorder: don't hardcode max arguments everywhere
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2251
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:32:56 +0000 (05:32 +0000)]
logsys: port to new packed rec_ident version
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2250
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:29:51 +0000 (05:29 +0000)]
logsys: add macros to pack/unpack rec_ident
rec_ident should contain 3 info: log level, subsystem id and
message type.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2249
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:17:43 +0000 (05:17 +0000)]
logsys: allow to use header files for #define's
most of the values in logsys.h are very useful for non logsys library
API users.
Allow to import them without sucking the whole lib.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2248
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:16:10 +0000 (05:16 +0000)]
logsys: update man page to reflect new changes
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2247
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:15:10 +0000 (05:15 +0000)]
logsys: merge tags into rec_ident
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2246
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 18 Jun 2009 05:11:08 +0000 (05:11 +0000)]
logsys: drop LOGSYS_LEVEL_SECURITY
LOGSYS_LEVEL_SECURITY is specific to corosync/openais and it
is used only in the totem configuration.
Drop the special case from logsys that's meant to be a generic
logging library and specify the correct equivalent for totem config.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2245
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Wed, 17 Jun 2009 10:13:57 +0000 (10:13 +0000)]
build: silence automake portability warnings
* configure.ac: Enable automake's -Wno-portability option.
We depend on GNU make.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2244
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Wed, 17 Jun 2009 10:13:49 +0000 (10:13 +0000)]
autogen.sh: simply to a one-liner: autoreconf -i
* autogen.sh: Don't use "which" or uname, or...
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2243
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Tue, 16 Jun 2009 07:12:40 +0000 (07:12 +0000)]
Add missing prototype and fix white spaces
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2242
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Mon, 15 Jun 2009 18:39:50 +0000 (18:39 +0000)]
Fix build error from recent solaris porting.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2241
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 14 Jun 2009 11:37:53 +0000 (11:37 +0000)]
Use PF_UNIX on Solaris platforms instead of PF_LOCAL.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2240
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 14 Jun 2009 11:37:11 +0000 (11:37 +0000)]
Use rsync -a instead of cp -a to install on Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2239
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 14 Jun 2009 11:36:18 +0000 (11:36 +0000)]
Port of coroipc system to Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2238
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 14 Jun 2009 10:40:50 +0000 (10:40 +0000)]
Patch from Jerome Flesch to correctly reference count on bsd and solaris
platforms in the IPC system to avoid cpu spinning.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2237
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 14 Jun 2009 10:13:48 +0000 (10:13 +0000)]
Add iface checking for Solaris platform.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2236
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Fri, 12 Jun 2009 10:22:32 +0000 (10:22 +0000)]
Make /etc/corosync/corosync.conf default configuration file
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2235
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jan Friesse [Fri, 12 Jun 2009 10:20:53 +0000 (10:20 +0000)]
Handle LCR problem with unloading "unneeded" components
In LCR, global variable g_component_handle is used to keep handle of loaded
component. If this variable has magic value (0xFFFFFFFF) it means,
"we loaded library, but that library doesn't have any component_register
call -> don't try to destroy interfaces list).
If this variable has other value, it means "we loaded library, it registers,
but it exports some interface, what we currently don't need, so we can delete
that handle from libraries/interfaces list" and variable is set to magic value,
or "we loaded library, it registers and exports what we need -> great return some
nice value", but nobody resets variable to it's magic value.
Sadly, if you have loaded some component (needed), then try to load component,
which don't have component_register function, previously loaded component handle
is destroyed.
This problem happened to clm and quorum services, and cause, that loaded
clm handle was destroyed, so EVT (which need clm) just falls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2234
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Thu, 11 Jun 2009 14:18:26 +0000 (14:18 +0000)]
Fix library linking fallout.. again
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2233
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 10 Jun 2009 17:57:22 +0000 (17:57 +0000)]
Modify totemnet to work properly on Solaris by setting variables in sendmsg
data structure.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2232
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Fabio M. Di Nitto [Wed, 10 Jun 2009 17:00:15 +0000 (17:00 +0000)]
Shared libs should not call exit but return error
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2231
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 10 Jun 2009 14:36:38 +0000 (14:36 +0000)]
Remove unused variable on platforms other then Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2230
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 10 Jun 2009 14:28:46 +0000 (14:28 +0000)]
Fix compile on BSD platforms.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2229
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Wed, 10 Jun 2009 14:28:16 +0000 (14:28 +0000)]
Fix semun definitions for various platforms.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2228
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Wed, 10 Jun 2009 07:33:19 +0000 (07:33 +0000)]
Fix corosync-cfgtool -a so that it actaully produces some output!
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2227
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 9 Jun 2009 21:40:44 +0000 (21:40 +0000)]
Use PF_LOCAL to match BSD semantics of api calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2226
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Tue, 9 Jun 2009 20:31:51 +0000 (20:31 +0000)]
Resolve bug where config changes are delivered in the wrong order on nodes that
join and then open a cpg.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2225
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Tue, 9 Jun 2009 16:07:11 +0000 (16:07 +0000)]
Decouple the decouples shutdown/startup order of lcrso's from the internal objdb order.
This is needed as the objdb order will change as modules are loaded/unloaded and is
also set up to unload non-default services last (which is the opposite of what
something like Pacemaker needs).
In the worst case, the current behavior leads to cluster services (dlm, ocfs2, etc)
failing during shutdown. This patch also ensures that if, for example, cpg is unloaded
then anything that depends on it is unloaded first.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2224
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 18:56:36 +0000 (18:56 +0000)]
Remove quorum.c from lcrso build list since its linked into main binary.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2223
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:53:56 +0000 (07:53 +0000)]
Add support for buildling on Solaris platforms.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2222
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:47:10 +0000 (07:47 +0000)]
Call initializer directly for broken platforms which don't honor ctors in the shared object on dlopen.
This could probably be more tidy to detect those OS platforms which don't do this instead of hardcoding
to a specific platform we intend to port to.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2221
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:36:44 +0000 (07:36 +0000)]
Include limits.h in coroparse.c to properly define PATH_MAX.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2220
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:36:11 +0000 (07:36 +0000)]
Change NAME_MAX to FILENAME_MAX to compile properly on Posix OS.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2219
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:31:40 +0000 (07:31 +0000)]
Define MSG_NOSIGNAL if it is undefined by the base OS such as Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2218
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:31:14 +0000 (07:31 +0000)]
Conditionally compile on Solaris platforms msg_* flags in sendmsg header.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2217
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 07:24:37 +0000 (07:24 +0000)]
Include string.h in sq.h for memset() calls.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2216
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 02:30:13 +0000 (02:30 +0000)]
Make readdir operation portable by removing BSDism from coroparse.c.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2215
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 02:04:32 +0000 (02:04 +0000)]
Add strsep_cs to replace strsep.
-This line, and those below, will be ignored--
M exec/mainconfig.c
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2214
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 01:46:31 +0000 (01:46 +0000)]
First run at adding support for corosync totemip determination.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2213
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 00:55:00 +0000 (00:55 +0000)]
Make coroipcs compile on Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2212
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 00:47:56 +0000 (00:47 +0000)]
Rename queue datastructure to cs_queue data structure because some fail
operating system struct queue in the globally scoped headers.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2211
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 00:43:18 +0000 (00:43 +0000)]
Port of totemip to Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2210
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 00:42:40 +0000 (00:42 +0000)]
Port of logsys to Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2209
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Steven Dake [Sun, 7 Jun 2009 00:42:21 +0000 (00:42 +0000)]
coroipcc port to Solaris.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2208
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Christine Caulfield [Thu, 4 Jun 2009 16:12:08 +0000 (16:12 +0000)]
Don't let corosync-keygen fail if /etc/ais already exists
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2207
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Wed, 3 Jun 2009 10:46:07 +0000 (10:46 +0000)]
Fix compilation on OSX/Darwin
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2206
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Andrew Beekhof [Wed, 3 Jun 2009 09:54:22 +0000 (09:54 +0000)]
Forward port the clear_node_high_bit from whitetank
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2205
fd59a12c -fef9-0310-b244-
a6a79926bd2f
Jim Meyering [Tue, 2 Jun 2009 17:44:56 +0000 (17:44 +0000)]
totempg.c: don't truncate group list
* exec/totempg.c (totempg_groups_join): Fix typo s/=/+/ that
would mistakenly truncate totempg group list.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2204
fd59a12c -fef9-0310-b244-
a6a79926bd2f