Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							3131601ce2 
							
						 
					 
					
						
						
							
							Remove all unneccessary "\n" from log messages  
						
						 
						
						... 
						
						
						
						These look ugly, are inconsistently done and just have
to be removed later in libqb before calling syslog.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com> 
						
					 
					
						2012-01-23 13:08:23 +11:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							75bc06d916 
							
						 
					 
					
						
						
							
							Remove lcr directory, files, and references since it is no longer needed  
						
						 
						
						... 
						
						
						
						Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com> 
						
					 
					
						2012-01-16 09:30:40 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							8ad583a54c 
							
						 
					 
					
						
						
							
							Move logsys.c into corosync binary instead of a shared object  
						
						 
						
						... 
						
						
						
						Our preferred shared logging system is exported via the libqb library.  As
a result, the corosync project no longer needs to export logsys.so and the
code can be directly included in the binary.  The header file can also be
removed.
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com> 
						
					 
					
						2012-01-06 18:19:59 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							e920fef7e9 
							
						 
					 
					
						
						
							
							Get rid of hdb usage in totempg.h interface  
						
						 
						
						... 
						
						
						
						hdb has some expense and is not necessary in the totempg.so runtime.  This
patch removes the dependence on hdb and instead uses a direct pointer.
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com> 
						
					 
					
						2011-08-23 22:29:01 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							c6895faa05 
							
						 
					 
					
						
						
							
							libqb: change ipc -> qb_ipc  
						
						 
						
						... 
						
						
						
						IPC: return 0/-ENOBUFS from message handler
IPC: use the new rate_limit API to improve perf.
CPG: add send_async API & hook up flow control
IPC: Fix flow control getting stuck.
IPC: Port the remaining libs to use libqb IPC
IPC: remove libqb flowcontrol API
TEST: put cpg_dispatch() in it's own thread
IPC: cleanup ipc_glue.c name everything cs_ipcs_*()
IPC: add back statistics
IPC: remove coroipcc_ symbols from lib*.versions
IPC: init each se's IPC as it is loaded.
IPC: use the new connection_closed() event to free the context.
IPC: re-add zero copy functionality back
IPC: remove cpg_mcast_joined_async() and make it the default
 -> now cpg_mcast_joined() == cpg_mcast_joined_async()
libqb: expose a libqb error converter
libqb: add missing error conversions
libqb: remove repeat try loop in lib/cpg.c
CPG: fix zero copy mcast
CPG: use newer return codes
Add ENOTCONN to qb_to_cs_error()
libqb: fix error conversion from errno to cs_error_t in confdb
libqb: change errno_to_cs to qb_to_cs_error
libqb: add a cs_strerror() to get a more meaningful message
libqb: fix some confusing error conversions.
libqb: set the timeout on recv's to -1 (wait forever)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com> 
						
					 
					
						2011-08-09 10:37:14 +10:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							0fab390ae4 
							
						 
					 
					
						
						
							
							SYNC: always call sync_aborted() in sync_confchg_fn().  
						
						 
						
						... 
						
						
						
						1) sync_callbacks.sync_abort can be null.
2) sync_processing is set to 0 after syncv1 is done.
   Then syncv2 processing is down. If we get a config change
   after syncv1 is down, but before syncv2 is done then it won't
   get aborted.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2995  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2010-07-17 04:59:40 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							e43e760dde 
							
						 
					 
					
						
						
							
							SYNC: remove unused primary_designated from sync_primary_callback_fn()  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2990  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2010-07-16 02:07:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							c6beee076a 
							
						 
					 
					
						
						
							
							pass transitional members into the sync_init() callbacks.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2653  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2010-02-04 00:18:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							18a19bac27 
							
						 
					 
					
						
						
							
							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 
						
					 
					
						2009-06-28 04:51:38 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							e1b054ae0a 
							
						 
					 
					
						
						
							
							Change sync_init api call to pass information relevant for making  
						
						 
						
						... 
						
						
						
						synchronization decisions.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2305  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-06-27 01:59:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							621511d336 
							
						 
					 
					
						
						
							
							Add syncv2.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2302  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-06-26 21:15:19 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							1f40a10983 
							
						 
					 
					
						
						
							
							don't include <signal.h> when it's not used  
						
						 
						
						... 
						
						
						
						* exec/coroparse.c: Likewise.
* exec/quorum.c: Likewise.
* exec/sync.c: Likewise.
* exec/totemmrp.c: Likewise.
* exec/totemnet.c: Likewise.
* exec/totemrrp.c: Likewise.
* exec/totemsrp.c: Likewise.
* exec/vsf_quorum.c: Likewise.
* exec/vsf_ykd.c: Likewise.
* lcr/uic.c: Likewise.
* lcr/uis.c: Likewise.
* lib/cfg.c: Likewise.
* services/cfg.c: Likewise.
* services/cpg.c: Likewise.
* services/evs.c: Likewise.
* services/pload.c: Likewise.
* services/testquorum.c: Likewise.
* services/votequorum.c: Likewise.
* test/testconfdb.c: Likewise.
* test/testcpg.c: Likewise.
* test/testcpgzc.c: Likewise.
* test/testzcgc.c: Likewise.
* tools/corosync-cfgtool.c: Likewise.
* tools/corosync-objctl.c: Likewise.
* tools/corosync-pload.c: Likewise.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2193  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-05-18 16:41:46 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christine Caulfield 
							
						 
					 
					
						
						
						
						
							
						
						
							7609e4d0aa 
							
						 
					 
					
						
						
							
							Fix spelling of "Received" in sync.c  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2179  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-05-12 09:20:21 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							20d1d5faf7 
							
						 
					 
					
						
						
							
							Remove most iovector-ized functionality from totem and only make one malloc  
						
						 
						
						... 
						
						
						
						and memory copy call in totemsrp_mcast.  The rest of the stack minus totempg
then uses zero copies.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2172  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-05-09 17:23:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							8126cf7458 
							
						 
					 
					
						
						
							
							Reworking of include file dependencies.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2119  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-22 09:01:30 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							904a10ed38 
							
						 
					 
					
						
						
							
							remove all trailing blanks  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2117  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-22 08:03:55 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fabio M. Di Nitto 
							
						 
					 
					
						
						
						
						
							
						
						
							0112b685e7 
							
						 
					 
					
						
						
							
							Move include config.h at the top as it's supposed to be  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2108  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-21 07:34:05 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fabio M. Di Nitto 
							
						 
					 
					
						
						
						
						
							
						
						
							c3c75acfd2 
							
						 
					 
					
						
						
							
							Add logsys v3  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2091  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-20 04:28:33 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							d45965ecae 
							
						 
					 
					
						
						
							
							totemrrp.h, totemsrp.h, totemnet.h: const+size_t  
						
						 
						
						... 
						
						
						
						* exec/totemrrp.c (totemrrp_initialize):
* exec/totemrrp.h (totemrrp_initialize):
* exec/totemsrp.c (handler_functions, main_deliver_fn):
(main_iface_change_fn):
* exec/totemnet.c (totemnet_deliver_fn, totemnet_iface_change_fn):
(encrypt_and_sign_worker, ucast_sendmsg, mcast_sendmsg):
(totemnet_mcast_worker_fn, totemnet_initialize):
(totemnet_token_send, totemnet_mcast_flush_send):
(totemnet_mcast_noflush_send, totemnet_token_target_set):
* exec/totemnet.h (TOTEMNET_FLUSH):
* exec/totemrrp.c (totemrrp_deliver_fn, totemrrp_iface_change_fn):
(totemrrp_token_seqid_get, rrp_deliver_fn, rrp_iface_change_fn):
* exec/totemsrp.c (handler_functions, main_token_seqid_get):
(srp_addr_copy_endian_convert, message_handler_orf_token):
(message_handler_mcast, message_handler_memb_merge_detect):
(memb_join_endian_convert, memb_commit_token_endian_convert):
(orf_token_endian_convert, mcast_endian_convert):
(memb_merge_detect_endian_convert, message_handler_memb_join):
(message_handler_memb_commit_token):
(message_handler_token_hold_cancel, main_deliver_fn):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2062  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-15 07:48:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							ab7b859d8a 
							
						 
					 
					
						
						
							
							sync.c: avoid printf format warning  
						
						 
						
						... 
						
						
						
						* exec/sync.c (sync_deliver_fn): cast to unsigned long int, use %lu
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2034  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 07:57:36 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							373254bdb9 
							
						 
					 
					
						
						
							
							sync.c: avoid warning about now-unused variables  
						
						 
						
						... 
						
						
						
						* exec/sync.c (vsf_none, vsf_iface): Remove decls of now-unused
file-scoped variables.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2033  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 07:57:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							36eefbadef 
							
						 
					 
					
						
						
							
							Convert all "int iov_len" decls to "unsigned int iov_len".  
						
						 
						
						... 
						
						
						
						Used this command:
git grep -l 'int iov_len' \
  | xargs perl -pi -e 's/((?:^|,)\s*)(int iov_len)/${1}unsigned $2/'
Here's an approximate (autogenerated by vc-chlog) list of affected
file names and functions/macros:
* README.devmap:
* exec/coroipcs.c (sending_allowed_private_data)
(coroipcs_response_iov_send, msg_send, msg_send_or_queue)
(coroipcs_dispatch_iov_send):
* exec/coroipcs.h (handler_fn_get):
* exec/main.c (deliver_fn, main_mcast):
* exec/main.h (FALSE):
* exec/sync.c (vsf_iface, sync_deliver_fn):
* exec/totemmrp.c (totemsrp_handle_in, pg_deliver_fn)
(totemmrp_deliver_fn, totemmrp_initialize, totemmrp_mcast):
* exec/totemmrp.h (TOTEMMRP_H_DEFINED):
* exec/totemnet.c (iov_len, encrypt_and_sign_worker)
(ucast_sendmsg, mcast_sendmsg, totemnet_token_send):
* exec/totemnet.h (TOTEMNET_FLUSH):
* exec/totempg.c (deliver_fn, totempg_deliver_fn, mcast_msg)
(totempg_groups_initialize, totempg_groups_mcast_joined)
(totempg_groups_joined_reserve):
* exec/totemsrp.c (iov_len, totemsrp_recv, totemsrp_deliver_fn)
(totemsrp_initialize, totemsrp_mcast, token_send):
* exec/totemsrp.h (TOTEMSRP_H_DEFINED):
* exec/vsf_ykd.c (ykd_deliver_fn):
* include/corosync/coroipcc.h (handleInstanceDestructor):
* include/corosync/cpg.h (cpg_callbacks_t):
* include/corosync/engine/coroapi.h (ipc_response_iov_send)
(ipc_dispatch_iov_send, totem_mcast, tpg_init, tpg_joined_mcast)
(tpg_joined_reserve, tpg_groups_mcast, tpg_groups_reserve):
* include/corosync/totem/totempg.h (TOTEMPG_SAFE):
* lib/coroipcc.c (coroipcc_msg_send)
(coroipcc_msg_send_reply_receive)
(coroipcc_msg_send_reply_receive_in_buf):
* lib/cpg.c (cpg_mcast_joined):
* lib/util.h (versionsSupported):
* services/pload.c (send_message):
* services/votequorum.c (conn, quorum_deliver_fn):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2031  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 07:56:45 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							2eba2a6cb8 
							
						 
					 
					
						
						
							
							continue pulling previous thread: mostly constification  
						
						 
						
						... 
						
						
						
						* exec/apidef.c (typedef_tpg_join, typedef_tpg_leave)
(typedef_tpg_groups_mcast, typedef_tpg_groups_send_ok):
* exec/sync.c (barrier_data_process, sync_barrier_send)
(sync_start_init, sync_service_init, sync_start_process)
(sync_service_process, sync_deliver_fn, sync_request_send)
(sync_request):
* exec/sync.h (name):
* exec/totemmrp.c (totemmrp_callback_token_create):
* exec/totemmrp.h (TOTEMMRP_H_DEFINED):
* exec/totempg.c (list, app_confchg_fn)
(callback_token_received_fn, totempg_callback_token_create)
(totempg_groups_mcast_joined, totempg_groups_joined_release)
(totempg_groups_mcast_groups):
* exec/totemsrp.c (callback_fn, totemsrp_confchg_fn)
(totemsrp_initialize, totemsrp_callback_token_create):
* exec/totemsrp.h (TOTEMSRP_H_DEFINED):
* exec/vsf_ykd.c (ykd_state_send_msg, ykd_attempt_send_msg)
(ykd_confchg_fn):
* include/corosync/engine/coroapi.h (timer_add_absolute)
(totem_ifaces_print, totem_ip_print, totem_callback_token_create)
(sync_request, plugin_interface_reference):
* include/corosync/totem/totempg.h (TOTEMPG_SAFE):
* services/cpg.c (cpg_confchg_fn):
* services/pload.c (msgs_sent, pload_service_engine)
(send_message, start_mcasting):
* services/votequorum.c (conn, quorum_confchg_fn):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2030  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 06:44:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							3a32139cfc 
							
						 
					 
					
						
						
							
							*_confchg_fn: make pointer params const, change *_entries to be size_t  
						
						 
						
						... 
						
						
						
						* exec/main.c (confchg_fn):
* exec/quorum.h (sync_callback_fn_t):
* exec/sync.c (sync_ring_id, barrier_data_process)
(sync_start_init, sync_service_process, sync_primary_callback_fn)
(sync_deliver_fn, sync_confchg_fn):
* exec/sync.h (name):
* exec/totemmrp.c (totemsrp_handle_in, pg_confchg_fn)
(totemmrp_confchg_fn, totemmrp_initialize):
* exec/totemmrp.h (TOTEMMRP_H_DEFINED):
* exec/totempg.c (confchg_fn, totempg_confchg_fn)
(totempg_groups_initialize):
* include/corosync/engine/coroapi.h (tpg_init, confchg_fn)
(sync_abort):
* include/corosync/totem/totempg.h (TOTEMPG_SAFE):
* services/cfg.c (shutdown_reply, cfg_confchg_fn)
(message_handler_req_exec_cfg_ringreenable):
* services/cpg.c (api, cpg_confchg_fn):
* services/evs.c (MESSAGE_REQ_EXEC_EVS_MCAST, evs_confchg_fn):
* services/pload.c (MESSAGE_REQ_EXEC_PLOAD_MCAST)
(pload_confchg_fn):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2029  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 06:44:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							cf2c12a988 
							
						 
					 
					
						
						
							
							evs.h: s/int/size_t; const-correctness changes  
						
						 
						
						... 
						
						
						
						* exec/sync.c (barrier_data_confchg_entries):
* include/corosync/evs.h (evs_deliver_fn_t, evs_confchg_fn_t):
(evs_callbacks_t):
* lib/evs.c (MIN, evs_join, evs_leave, evs_mcast_joined):
(evs_mcast_groups, evs_membership_get):
* test/evsbench.c (evs_deliver_fn, evs_confchg_fn):
* test/evsverify.c (evs_deliver_fn, evs_confchg_fn, main):
* test/testevs.c (evs_deliver_fn, evs_confchg_fn, main):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2023  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 06:43:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							db4838bc35 
							
						 
					 
					
						
						
							
							quorum.h (quorum_set_quorate_fn_t): make first param const  
						
						 
						
						... 
						
						
						
						* exec/quorum.h (sync_callback_fn_t):
* exec/sync.c (current_members_cnt, sync_primary_callback_fn):
* exec/sync.h (name):
* exec/vsf_quorum.c (sync_primary_callback_fn):
(quorum_api_set_quorum):
* exec/vsf_ykd.c (ykd_primary_callback_fn):
* include/corosync/engine/coroapi.h (sync_callback_fn_t):
* include/corosync/engine/quorum.h (quorum_set_quorate_fn_t):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2022  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-08 06:43:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							12754324f9 
							
						 
					 
					
						
						
							
							Forward port of sync v1 engine from whitetank and rework of quorum  
						
						 
						
						... 
						
						
						
						engine to not break syncing.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2019  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-07 21:41:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							3965e378e6 
							
						 
					 
					
						
						
							
							avoid prototype warnings  
						
						 
						
						... 
						
						
						
						* test/evsbench.c: Declare functions/vars static.
* test/evsverify.c: Likewise.
* test/testcpg2.c: Likewise.
* test/testcpg.c: Likewise.
* test/logsysbench.c: Likewise.
* test/cpgbench.c: Likewise.
* exec/sync.c: Likewise.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1982  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-01 09:33:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jim Meyering 
							
						 
					 
					
						
						
						
						
							
						
						
							9bd1a8e728 
							
						 
					 
					
						
						
							
							declare many functions "static" (also avoids missing prototype warnings)  
						
						 
						
						... 
						
						
						
						* exec/main.c (sigintr_handler, serialize_lock, serialize_unlock):
(serialize_lock, serialize_unlock):
* exec/sync.c (sync_start_init, sync_callbacks_load):
* exec/vsf_ykd.c (ykd_state_init):
* lcr/uis.c (cmd1):
* services/pload.c (send_message, token_callback, start_mcasting):
* tools/corosync-cfgtool.c (service_load_do, service_unload_do):
(shutdown_do, showaddrs_do, killnode_do, usage_do):
* tools/corosync-fplay.c (totemip_print, print_string_len):
(sync_printer_confchg_set_sync, sync_printer_set_sync_state):
(sync_printer_process_currentstate):
(sync_printer_process_get_shouldsync):
(sync_printer_checkpoint_release):
(sync_printer_checkpoint_transmit, sync_printer_section_transmit):
(sync_printer_checkpoint_receive, sync_printer_section_receive):
(sync_printer_nada, sync_printer_confchg_fn):
(printer_totemsrp_mcast, printer_totemsrp_delv):
(printer_totempg_mcast_fits, sync_printer_service_process):
* tools/corosync-objctl.c (get_child_name, get_parent_name):
(get_key):
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1980  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-04-01 09:33:07 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fabio M. Di Nitto 
							
						 
					 
					
						
						
						
						
							
						
						
							031c02f589 
							
						 
					 
					
						
						
							
							- Every .c file should include "config.h" to get the right defines...  
						
						 
						
						... 
						
						
						
						- services/Makefile.am: add include search paths for config.h
- include/corosync/cs_config.h.in exports LCRSODIR and SOCKETDIR
- tools/Makefile.am: drop -D defines for dirs that are now in
cs_config.h or config.h
- configure.ac: sanitize prefix and exec_prefix paths. Export DIRS in
*config.h
- lib/Makefile.am: : drop -D defines for dirs that are now in
cs_config.h or config.h. Add rule to build lcr_ifact.o or building from
lib/ fails miserably
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1877  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-03-19 12:58:53 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							58ab8d4a65 
							
						 
					 
					
						
						
							
							Unification around hdb_handle_t data type.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1782  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2009-02-25 11:14:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Christine Caulfield 
							
						 
					 
					
						
						
						
						
							
						
						
							cfc7da3573 
							
						 
					 
					
						
						
							
							quorum is now an optional loadable module (though I've put it into the  
						
						 
						
						... 
						
						
						
						defaults in services.c) and can load another module to do the quorum
work (eg YKD which I've made more compliant too). All the quorum code
has been removed from sync.c. quorum.c is simply a shim later for the
coroapi, the main module is in vsf_quorum.c
There are coroapi calls to query quorate status and also to get
notifications when it changes.
I've included the testquorum.lcrso module in this patch because I think
it's really helpful for testing. It sets the quorum state based on an 
objdb variable, this can be set or cleared using corosync-cfgtool
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1704  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-12-08 15:55:41 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							0c631e24fc 
							
						 
					 
					
						
						
							
							Logsys flight recorder.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1681  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-10-30 22:25:56 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Angus Salkeld 
							
						 
					 
					
						
						
						
						
							
						
						
							531bd3adec 
							
						 
					 
					
						
						
							
							Add support for AMF (sync_request)  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1666  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-09-17 19:04:19 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							dd3991c0bb 
							
						 
					 
					
						
						
							
							Proper rename of openais usage to corosync throughout tree.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1637  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-08-14 16:54:46 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							4cb815a6ce 
							
						 
					 
					
						
						
							
							Forward port of the synchronization engine into trunk.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1563  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-06-24 04:46:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							31779dc311 
							
						 
					 
					
						
						
							
							Remove totemip reference from file.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1560  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2008-06-24 04:44:36 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							dcf2bb0137 
							
						 
					 
					
						
						
							
							Allow missing spots in the synchronization engine  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1448  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2007-09-15 20:32:36 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							113a3c4f88 
							
						 
					 
					
						
						
							
							The logsys logging system.  Read logsys_overview.8.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1428  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2007-09-09 06:38:10 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							ca24b42838 
							
						 
					 
					
						
						
							
							Fix problem in synchronization engine which results in possible failures of  
						
						 
						
						... 
						
						
						
						the synchronization engine.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1424  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2007-09-09 06:12:56 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Steven Dake 
							
						 
					 
					
						
						
						
						
							
						
						
							cb154572a2 
							
						 
					 
					
						
						
							
							Patch from Renaud to report some broken Solaris porting from past.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1353  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2007-03-06 16:18:44 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hans Feldt 
							
						 
					 
					
						
						
						
						
							
						
						
							97919b8d16 
							
						 
					 
					
						
						
							
							Cleaning up and preparing for later patch.  
						
						 
						
						... 
						
						
						
						git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1310  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2006-11-17 06:57:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hans Feldt 
							
						 
					 
					
						
						
						
						
							
						
						
							5796de0f76 
							
						 
					 
					
						
						
							
							- sync_abort is called if there is a new config change during synchronization  
						
						 
						
						... 
						
						
						
						- a new function sync_request() that can be called by a user to execute
synchronization on request of a specified service. 
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1280  fd59a12c-fef9-0310-b244-a6a79926bd2f 
						
					 
					
						2006-10-24 06:30:50 +00:00