2012-08-14  Jan Friesse  <jfriesse@redhat.com>

	example conf: Remove unused amf section
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

	example conf: Remove Duplicate "debug" statement
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-08-13  Christine Caulfield  <ccaulfie@redhat.com>

	confdb: Fix crash with long values
	Also add API calls to get them.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>

2012-08-10  Christine Caulfield  <ccaulfie@redhat.com>

	confdb: Fix crash with long values and add API calls to get them
	confdb as it stands has a limit of 256 bytes in a returned value -
	anything larger than that will cause corosync to crash.

	This patch adds checks toprevent this happening, fixes some API calls so
	that they return the full value and adds some new ones where it wasn't
	possible to safely return am arbitrarily long string.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-08-09  Jan Friesse  <jfriesse@redhat.com>

	cpg: Check input param name_t length
	IPC is using buffer of CS_MAX_NAME_LENGTH for name. If user calls
	function with longer string, such string can be passed to service
	incomplete.

	Solution is to not allow string larger then CS_MAX_NAME_LENGTH
	and return error.

	Same applies to cpg service.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
	(cherry picked from commit 2d10e2bbead3617f0557937788fe0c834060851e)

2012-08-01  Jan Friesse  <jfriesse@redhat.com>

	totemudpu: Bind sending sockets to bindto address
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(backported from commit 7ce332a713e68a372fc9a0901c00f2d9502420a2)

2012-07-30  Jan Friesse  <jfriesse@redhat.com>

	confdb_keys: Document few more runtime statistics
	Reviewed-by: Steven Dake <sdake@redhat.com>

	cpg: Be more verbose for procjoin message
	Reviewed-by: Steven Dake <sdake@redhat.com>

2012-07-09  Jan Friesse  <jfriesse@redhat.com>

	Register reload callback only once
	Votequorum should register reload callback only once and not after each
	change in confdb.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-06-27  Jan Friesse  <jfriesse@redhat.com>

	Add man page with Confdb keys created by corosync
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(backported from commit de47f1243745076304178cda296422ccb8e1e642)

2012-06-11  Jerome FLESCH  <jerome.flesch@netasq.com>

	When flushing, discard only memb_join messages
	Patch solves problem when 1 ring out of 2 went up/down quite often.

	The simplest setup to reproduce bug is following:
	- 2 VMs, connected by 2 network interfaces
	- OS: Linux
	- On one of the VMs, a test program sending some CPG messages (see the
	  script "test_corosync.sh" joined to this mail for example)

	Here are the Corosync logs we get when we do this setup:

	Jun 06 16:23:40 corosync [TOTEM ] A processor joined or left the
	membership and a new membership was formed.
	Jun 06 16:23:40 corosync [CPG   ] chosen downlist: sender r(0)
	ip(192.168.56.104) r(1) ip(192.168.57.104) ; members(old:1 left:0)
	Jun 06 16:23:40 corosync [MAIN  ] Completed service synchronization,
	ready to provide service.
	Jun 06 16:24:37 corosync [TOTEM ] Marking ringid 1 interface
	192.168.57.105 FAULTY
	Jun 06 16:24:38 corosync [TOTEM ] Automatically recovered ring 1
	Jun 06 16:25:33 corosync [TOTEM ] Marking ringid 1 interface
	192.168.57.105 FAULTY
	Jun 06 16:25:34 corosync [TOTEM ] Automatically recovered ring 1
	Jun 06 16:26:35 corosync [TOTEM ] Marking ringid 1 interface
	192.168.57.105 FAULTY
	Jun 06 16:26:36 corosync [TOTEM ] Automatically recovered ring 1
	(...)

	The second ring goes down about every 2 minutes and automatically back
	up right after.

	We spent some times looking for the commit that introduced this bug, and
	it appears it's due the following one:
	Corosync 1.3.3 -> 1.3.4: e27a58d93d0d3795beb550f87b660c9c04f11386
	Corosync 1.4.1 -> 1.4.2: be608c050247e5f9c8266b8a0f9803cc0a3dc881
	Commit message: Ignore memb_join messages during flush operations

	I had a look at this commit, and it seems to me it's dropping too many
	packets:
	Because of this commit, while totemrrp_recv_flush() is called, Corosync
	drops memb_join packets, but also ORF tokens. In the end, it seems that
	sometimes, we drop so many of them that Corosync marks the ring as
	faulty.

	To fix that, only memb_join messages are dropped now.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(backported from commit 99faa3b864e3ff12f78cdfd8be56e4e6393e3c2e)

2012-05-29  Jan Friesse  <jfriesse@redhat.com>

	totemip: Support bind to exact address
	Logic for binding now works in following way:
	- Try to find exact match
	- If not exact match is found, use first found network address

	This allows set concrete IP even if network settings contains two IPs on
	same network.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
	(backported from commit 2894f33c4ffad3df21723c6dbef2350425dcf450)

2012-05-21  Jan Friesse  <jfriesse@redhat.com>

	Correctly handle point-to-point IP
	Main difference between IFA_LOCAL and IFA_ADDRESS:

	IFA_ADDRESS is prefix address, rather than local interface address.
	It makes no difference for normally configured broadcast interfaces,
	but for point-to-point IFA_ADDRESS is DESTINATION address,
	local address is supplied in IFA_LOCAL attribute.

	We are now using IFA_LOCAL insted of IFA_ADDRESS to correctly find out
	local address.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-04-24  Fabio M. Di Nitto  <fdinitto@redhat.com>

	objctl: add missing calls to dispatch notifications and fix memory corruption
	when editing the objdb via objctl, we need to notify objdb users of changes.
	That includes the logging subsystem.

	In the process of adding the reload call, i spotted that objctl was passing
	an incorrect value for key_value_len that was one off (0 byte end string)
	that was corrupting the keys.

	[root@rhel6-node2 ~]# corosync-objctl -w logging.debug=off
	....
	Apr 24 07:42:59 corosync [corosy] fabdebug: off2@

	Reviewed-by: Steven Dake <sdake@redhat.com>

2012-03-26  Jan Friesse  <jfriesse@redhat.com>

	Add support for per OS CP flags
	This is used on platforms, where CP doesn't have -a parameter.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

	Revert "Use install instead of cp"
	This reverts commit 8b06d65b7b1a7b9944aab49daae51b95b4e51a5e.

	Install follows symlinks and creates full copy instead of symlink. This
	is not intended behavior.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-03-22  Jan Friesse  <jfriesse@redhat.com>

	Don't unlock mutex in different threads
	corosync_timer_init used to lock timer lock and unlock was made in
	prioritized_timer_thread. Even this behavior works on Linux, NetBSD is
	more strict. Mutex can be unlocked only by thread which locked it.

	Solution is to use condition and synchronize start of timer thread and
	main thread.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	Use install instead of cp
	Not all cp implementations support -a parameter, and install is better
	suited for "preserve attributes" behavior.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	Include stdint.h because funcs uses int16_t
	Reviewed-by: Steven Dake <sdake@redhat.com>

	Include net/if_var.h header only when needed
	Reviewed-by: Steven Dake <sdake@redhat.com>

	Madvise NOSYNC flag only if available
	Reviewed-by: Steven Dake <sdake@redhat.com>

2012-03-15  Jan Friesse  <jfriesse@redhat.com>

	Fix memory leaks when nss fails
	Specially bad one was happening, when packet with invalid digest was
	received  digest and iovec was larger then 1 item.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2012-02-27  Jan Friesse  <jfriesse@redhat.com>

	Unlink shm buffers if init fails
	If ipc init failed, buffers was not unlinked nether by client (lib) side
	nor server (corosync) side. This may lead to fill all available space,
	resulting in no accept of other connection. Typical example can be user
	running any corosync ipc binary (like corosync-objctl), without correct
	uid/gid entry in corosync configuration, resulting in DOS.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2012-02-22  Jan Friesse  <jfriesse@redhat.com>

	iba: Use configured node id
	Corosync was ignoring nodeid for iba transport and always used
	autogenerated one.

	Original patch by: Jason Dillaman <jdillama@redhat.com>
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
	(cherry picked from commit 04720649baad51d56426085209faa5580b44386c)

2012-02-02  Jan Friesse  <jfriesse@redhat.com>

	Wait for corosync-notifyd exit in init script
	Without wait for real exit of corosync-notifyd it can happen, that new
	corosync-notifyd is killed. To prevent such condition, stop now wait for
	process to die, before exit of stop function.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 8e584591760704a0fe0398e39a10646f2ddaa2ba)

	Store error str if can't open logfile
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(backported from commit a80febda7e8b1bd83f74909c57b682bc9b0a784e)

2012-01-31  Angus Salkeld  <asalkeld@redhat.com>

	Free mem allocated by getaddrinfo
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 390391acba6490c67b659e8a447200e16e37c2d0)

2011-12-01  Yunkai Zhang  <qiushu.zyk@taobao.com>

	Correct nodeid in memb_state_commit_token_send function
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 232ac5a7fe8631d29e18c5730c3b4e0ecafc0a31)

2011-12-01  Steven Dake  <sdake@redhat.com>

	From: Yunkai Zhang: Today, I have observed one of the reason that corosync running into FAILED TO RECEIVE state.
	There was five nodes(A,B,C,D,E) in my testing, and I limited the UDP
	transmission rate of C nodes by iptables command:
	iptables -A INPUT -i eth0 -p udp -m limit --limit 10000/s
	--limit-burst 1 -j ACCEPT
	iptables -A INPUT -i eth0 -p udp -j DROP

	After one hour later, C node had been missing some MCAST messages,
	it's state described as following:
	==state of C node==
	my_aru:0x805
	my_high_seq_received:0xC2C
	my_aru_count:7

	=>receved MCAST message with seq:806 from B nodes
	=>enter *message_handler_mcast*
	  =>add this message to regular_sort_queue
	  ...
	  =>enter *update_aru* function
	    => range = (my_high_seq_received - my_aru)
	             = (0xC2C - 0x805)
	             = 1063
	    => if range>1024, do nothing and and return directly.
	==END==

	According this logic, after (my_high_req_received-my_aru)>1024, my_aru
	will not be updated though corosync can receive MCAST messages
	retransmitted by other nodes.

	But at that timte, my_aru_count was only 7. So the corosync at C node
	would keep in this status until my_aru_count increased to
	fail_to_recv_const(the default value is 2500). This was a long time
	for corosync, but we wasted it.

	To solve this issue, maybe we can enlarge the range condition in
	update_aru function? Or we just ingnore the checking of range value,
	it seems no harmfull, because we have been using fail_to_recv_const to
	control the things.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit e48ddf99a67754dea056a54f404f3638cf829b9c)

2011-12-01  Yunkai Zhang  <qiushu.zyk@taobao.com>

	Correct nodeid of token when we retransmit it
	Although incorrect nodeid will not affect program's logic, but it will
	make us confused when we add some logs to record the transmission path of
	token in debug mode.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 19652c3d7cf72241907bf7efc3ca0738c66f2039)

2011-11-28  Yunkai Zhang  <qiushu.zyk@taobao.com>

	Fixed bug when corosync receive JoinMSG in OPERATIONAL state
	Accordig the totem protocal, nodes should enter GATHER state when it
	receive JoinMSG in OPERATIONAL state. If we discard it in OPERATIONAL
	state, the nodes sending this JoinMSG could not receive the response
	untill other nodes reach token lost timeout.

	This bug will cause nodes having entered GATHER state spend more time to
	rejoin the ring, and then it will make nodes reach token expired timeout
	more easily.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit d991400372603f2b42b0697614a39712f00fa52d)

2011-11-10  Angus Salkeld  <asalkeld@redhat.com>

	Add calls to missing object_find_destroy() to fix mem leaks
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-10-19  Florian Haas  <florian.haas@linbit.com>

	corosync.conf.example: add note about host addresses in bindnetaddr
	https://lists.linux-foundation.org/pipermail/openais/2011-July/016563.html

	Jan Friesse pointed out that bindnetaddr should be set to a host
	address (as opposed to a network address) on hosts where multiple
	NICs live on the same subnet. Add a comment to that effect to
	the example configuration file.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 1957865dd6330e4103dbb9aeb5afa09e2035e028)

	corosync.conf.example: include comments
	It's nice to say people should read the man page. It's also naive to
	assume that they always do. Include comments in the example config
	file itself.

	Reviewed-by: Dan Frincu <dan.frincu@1and1.ro>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 6fa4a339b1562f608313c1a14cf9b63b0c4b9ec9)

	corosync.conf.example: change mcastaddr
	Change suggested mcastaddr to one in the 239.255.0.0/16
	pseudo-subnet. Multicast addresses outside 239.x.x.x may be IANA
	registered and can clash with other services present on the
	network. Suggest an address defined as part of the multicast IPv4
	Local Scope in RFC 2365.

	Reviewed-by: Dan Frincu <dan.frincu@1and1.ro>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 178d09ed85d117b8eb5533022e4b61e9d1758856)

	corosync.conf.example: change bindnetaddr
	Change the example configuration file so "bindnetaddr" has a value
	that more obviously looks like a network address. So as not to have
	people think they need to set an existing IP address here (and hence,
	have non-identical corosync.conf files between nodes).

	Reviewed-by: Dan Frincu <dan.frincu@1and1.ro>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit f85b9448f8a4c7fe87f41343bdc4c21be8a4912d)

2011-10-10  Masatake YAMATO  <yamato@redhat.com>

	Remove cloned lines in main of main.c

2011-09-22  Steven Dake  <sdake@redhat.com>

	Deliver all messages from my_high_seq_recieved to the last gap
	This patch passes two test cases:

	-------
	Test #1
	-------
	Two node cluster - run cpgbench on each node

	modify totemsrp with following defines:
	Two test cases:

	-------
	Test #2
	-------
	5 node cluster

	start 5 nodes randomly at about same time, start 5 nodes randomly at about
	same time, wait 10 seconds and attempt to send a message.  If message blocks
	on "TRY_AGAIN" likely a message loss has occured.  Wait a few minutes without
	cyclng the nodes and see if the TRY_AGAIN state becomes unblocked.

	If it doesn't the test case has failed

	Reviewed-by: Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit 2ec4ddb039b310b308a8748c88332155afd62608)

2011-07-14  Russell Bryant  <russell@russellbryant.net>

	Resolve a deadlock between the timer and serialize locks.
	This patch resolves a deadlock between the serialize lock (in
	exec/main.c) and the timer lock (in exec/timer.c).  I observed this
	deadlock happening fairly quickly on a cluster using the EVT service
	from OpenAIS.  (OpenAIS 1.1.4, Corosync 1.4.1)

	In prioritized_timer_thread(), it was grabbing:
	    1) timer lock
	    2) serialize lock

	In another thread, you have:
	    1) grab the serialize lock in deliver_fn() of exec/main.c
	    2) grab the timer lock in corosync_timer_add_duration().

	The patch just swaps the locking order in the timer thread.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>

2011-09-08  Jan Friesse  <jfriesse@redhat.com>

	totemconfig: change minimum RRP threshold
	RRP threshold can be lower value then 5.

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
	(cherry picked from commit f6c2a8dab786c50ece36dd3424e258e93a1000d3)

2011-09-05  Steven Dake  <sdake@redhat.com>

	Ignore memb_join messages during flush operations
	a memb_join operation that occurs during flushing can result in an
	entry into the GATHER state from the RECOVERY state.  This results in the
	regular sort queue being used instead of the recovery sort queue, resulting
	in segfault.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit 48ffa8892daac18935d96ae46a72aebe2fb70430)

2011-09-01  Jan Friesse  <jfriesse@redhat.com>

	rrp: Higher threshold in passive mode for mcast
	There were too much false positives with passive mode rrp when high
	number of messages were received.

	Patch adds new configurable variable rrp_problem_count_mcast_threshold
	which is by default 10 times rrp_problem_count_threshold and this is
	used as threshold for multicast packets in passive mode. Variable is
	unused in active mode.

	Reviewed by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 752239eaa1edd68695a6e40bcde60471f34a02fd)

	rrp: Handle endless loop if all ifaces are faulty
	If all interfaces were faulty, passive_mcast_flush_send and related
	functions ended in endless loop. This is now handled and if there is no
	live interface, message is dropped.

	Reviewed by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 0eade8de79b6e5b28e91604d4d460627c7a61ddd)

2011-08-18  Tim Beale  <tim.beale@alliedtelesis.co.nz>

	A CPG client can sometimes lockup if the local node is in the downlist
	In a 10-node cluster where all nodes are booting up and starting corosync
	at the same time, sometimes during this process corosync detects a node as
	leaving and rejoining the cluster.

	Occasionally the downlist that gets picked contains the local node. When the
	local node sends leave events for the downlist (including itself), it sets
	its cpd state to CPD_STATE_UNJOINED and clears the cpd->group_name. This
	means it no longer sends CPG events to the CPG client.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit 08f07be323b777118264eb37413393065b360f8e)

	Display ring-ID consistently in debug
	Ring ID was being displayed both as hex and decimal in places. Update so
	it's displayed consistently (I chose hex) to make debugging easier.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 370d9bcecf2716e52c8f729a53e9600fe6cc6aa4)

	Add code comment mapping for message handler defines
	As a corosync-newbie it can be hard to bridge the gap between where a
	particular message is sent and where the receive handler processes it,
	and vice versa.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 5a724a9c39465f7e63888f33375261506f69bd02)

2011-08-17  Jan Friesse  <jfriesse@redhat.com>

	cfg: Handle errors from totem_mcast
	totem_mcast function can return -1 if corosync is overloaded. Sadly
	in many calls of this functions was error code ether not handled at
	all, or handled by assert.

	Commit changes behaviour to ether return CS_ERR_TRY_AGAIN or put
	error code to later layers to handle it.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	cpg: Handle errors from totem_mcast
	totem_mcast function can return -1 if corosync is overloaded. Sadly in
	many calls of this functions was error code ether not handled at all, or
	handled by assert.

	Commit changes behaviour to ether return CS_ERR_TRY_AGAIN or put error
	code to later layers to handle it.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	coroipcc: use malloc for path in service_connect
	Coroipcc appropriately uses PATH_MAX sized variables for various data
	structures handling files in the initialization of the client.  Due to
	the use of 12 of these structures declared as stack variables, the
	application stack balloons to over 12*4k. This is especially problematic
	if threads are used by long running daemons to restart the connection
	to corosync so as to be resilient in the face of system services
	restarting (service corosync restart).

	A simple alternative is to allocate temporary memory to avoid
	requirements of large thread stacks.

	Original patch by Dan Clark <2clarkd@gmail.com>

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-07-26  Jan Friesse  <jfriesse@redhat.com>

	main: let poll really stop before totempg_finalize
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit d4fb83e971b6fa9af0447ce0a70345fb20064dc1)

	Revert "totemsrp: Remove recv_flush code"
	This reverts commit 1a7b7a39f445be63c697170c1680eeca9834de39.

	Reversion is needed to remove overflow of receive buffers and dropping
	messages.

	(cherry picked from commit ddb5214c2c57194fe8e12d775398bfc5726743c4)

2011-07-26  MORITA Kazutaka  <morita.kazutaka@lab.ntt.co.jp>

	totemsrp: fix buffer overflows for large clusters (> 100 nodes)
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 1d9f444feced36ec6118b4df5560f093ec44aba8)

2011-07-21  Jan Friesse  <jfriesse@redhat.com>

	specfile: Install corosync-signals.conf for dbus
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 2d75c7058f32b0f58aa5c825c13187103fcde1b2)

	specfile: use _datadir as var expansion not exec
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit a197e7b1cec329701167def358f8c603b5dd054c)

	specfile: Correct URL and source0
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit f103fb29b3e062dff67338fd75b91ea59ceb4972)

2011-07-21  Tim Beale  <tim.beale@alliedtelesis.co.nz>

	Add some more stats for debugging
	+ overload - number of times client is told to try again
	+ invalid_request - message contained invalid paramter, e.g. invalid size
	+ msg_queue_avail - messages currently available at the Totem layer
	+ msg-queue_reserved - messages currently reserved at the Totem layer

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 04f37df2f774b0d25540e27102c8a60527aa7125)

2011-07-18  Jan Friesse  <jfriesse@redhat.com>

	rrp: Handle rollower in passive rrp properly
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit ad5cda223c0916ea517d6f9f6c0ff4af3cd32246)

	rrp: handle rollover in active rrp properly
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit d02d2887471423bd23247895d96a0d687255aa55)

	totemconfig: Change default FAIL_TO_RECV_CONST
	Previous default (50) was too low for most modern switch hardware. This
	may trigger abort because the aru doesn't increase for 50 token
	rotations combined with a defect in how failed to recv conditions are
	handled.  By increasing this tunable, the condition should no longer
	trigger the errant code.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit a48c8e517d82d099bfd3f4a8ebc11716eeb3962b)

2011-07-18  Steven Dake  <sdake@redhat.com>

	Correct missing poll funtions from service handler struct needed for confdb APIs
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit c544e87bb0bfdb6e2c5a43ec01113f814e738550)

	Fix problem where corosync will segfault if there are gaps in recovery queue
	Fixes a problem where there are gaps in the recovery queue.  Example my_aru = 5,
	but there are messages at 7,8.  8 = my_high_seq_received which results
	in data slots taken up in new message queue.  What should really happen
	is these last messages should be delivered after a transitional
	configuration to maintain SAFE agreement.  We don't have support for
	SAFE atm, so it is probably safe just to throw these messages away.  Without
	this change, the new message queue on a new configuraton change is out of sync.

	Tested-by: Tim Beale <tlbeale@gmail.com>
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit a3d98f1652011d6bc75101c7b8aa098c2d2977e4)

2011-07-15  Jan Friesse  <jfriesse@redhat.com>

	Ensure that strings are null terminated after strncpy().
	From the strcpy(3) man page, the following warning is given:
	  The strncpy() function is similar, except that at most n bytes of src
	  are  copied.  Warning: If there is no null byte among the first n bytes
	  of src, the string placed in dest will not be null-terminated.

	The current corosync code base does not take this warning into account
	when using strncpy, potentially resulting in non-null terminated strings.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(backported from commit a609f79f1f8d23f8e57fe2afb383bd62621545f6)

	cfgtool: print list of IP with space between items
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit b4bef1cbf533ec1b8bdefb21a7987c6f69a40b3d)

	cpgtool: print list of IP with space between items
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit f6df7823fafed80f555b6a7d76643d2b555d17bb)

	cfg_get_node_addrs: Return correct addresses
	Zero element array behavior is very different from normal array or
	pointer. This behavior is root of problem in not returning correctly
	filled array of addresses. This appeared only in rrp mode, where more
	then one address is returned.

	All memcpy's are now correctly converted to copy pointer to char.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 033f7ced1061e39647b0b9d07e1eecb74839cd8a)

	corosync-fplay: use uint32_t and remove bit-shift
	The flight recorder records all data in 32 bit words. Use uint32_t type
	rather then unsigned int. Also remove bit-shift with multiply by sizeof
	uint32_t.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 12163b62d2d84ec438f35f5b942d3e8525585755)

	corosync-fplay: Use size_t length mod in printf
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit d3e9382d57e02724b44ea5f5736f42deb6c65a82)

	corosync-fplay: handle too large rec_size
	Corrupted files may contain items with rec_size larger then g_record
	buffer and/or flt_data_size.

	Also g_record array size is now defined as constant.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 7b0517f5e97af89ecb0a1c3145ad1db2a35475f5)

	logsys: Properly lock flt data before dump
	Data needs to be locked, otherwise resulting fdata file may be
	incorrect.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit c5e823732504e0c6e9e0eb66870bcacafde080c9)

	logsys: Don't leak fd on successful fdata dump
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 88515e3d20d9b34cc7a15e8da717aeb0a9965900)

	Handle "nocluster" kernel parameter in init script
	Init script checks kernel parameters and refuses to start corosync if
	nocluster parameter exist on boot time. The init script will
	continue to work as expected from console/tty after boot.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit fbbb3f01cbb7b5a6a105dbc4fe1541ca8bdb5e4d)

2011-07-08  Jan Friesse  <jfriesse@redhat.com>

	totemiba: free send_buf on ibv_reg_mr failure
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 57749ec02a081b21218508355f139315bb95b652)

2011-07-07  Florian Haas  <florian.haas@linbit.com>

	build: disable RDMA support in RPMs by default
	Rather than curiously disable RDMA support by default in configure and
	enable it by default in RPM builds, streamline the default
	configuration to always turn RDMA support off. It can be enabled in
	RPM builds with "--with rdma".

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 051bca82df29d3448c55b772a4c4935c70c83643)

	build: set RDMA related _LIBS and _CFLAGS only if building with RDMA support
	Having to force {ibverbs,rdmacm}_{LIBS,CFLAGS} looks positively odd;
	so this may warrant further review. However, they are definitely not
	needed if building without RDMA support.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit e715a455b6fc2582f505f4b24ac1500068687ba9)

	build: make RDMA support an RPM build conditional
	Enable RDMA in RPM builds by default to maintain the previous behavior
	(which always included --enable-rdma in the %configure invocation).

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 17fb819af1168d2d271a4d49a3f2536addcb80ed)

	build: force LC_ALL=C correctly for dates
	Failure to force "C" dates will have RPM et al. complain about invalid
	dates and timestamps.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit b8809eaf270196ecb061fefa043c7bca8af75b06)

2011-07-07  Tim Beale  <tim.beale@alliedtelesis.co.nz>

	Fix compile/runtime issues for _POSIX_THREAD_PROCESS_SHARED < 1
	For the case where _POSIX_THREAD_PROCESS_SHARED < 1, the code doesn't compile
	for corosync v1.3.1. And when it does compile, it crashes on our system - our
	version of uClibc seems to always expect a 4th arg. The man pages suggests
	the 4th arg is optional, but does say: 'For greater portability it is best to
	always call semctl() with four arguments', which is what this patch does.
	Also removed semop as it's an unused variable.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 77f7e5b0fe40338e6e5760feb12768defa6b0cf9)

	getpwnam_r()/getgrnam_r() returns ERANGE for some systems
	On our system the expected buffer length is 256. This means calls to
	getpwnam_r()/getgrnam_r() return ERANGE error and corosync fails to startup.
	These 2 functions return ERANGE when insufficient buffer space is supplied.
	Judging by the man page for getpwnam_r, the correct way to determine the
	buffersize on any given system is to use sysconf().

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit ba107f0a33fd5e6ef4073b9cc5539740e6ae3c12)

2011-07-07  Jiaju Zhang  <jjzhang.linux@gmail.com>

	RRP: redundant ring automatic recovery
	This patch automatically recovers redundant ring failures.

	Please note that this patch introduced rrp_autorecovery_check_timeout
	in totem config hence breaks internal ABI. The internal ABI users
	of totem.h need to rebuild their binaries.

	Tested-by: Jan Friesse <jfriesse@redhat.com>
	Tested-by: Florian Haas <florian.haas@linbit.com>
	Tested-by: Jiaju Zhang <jjzhang@suse.de>
	(cherry picked from commit 5dc33c2824e9fd2b8c18e2e30cf60210c5e8617e)

2011-07-07  Jan Friesse  <jfriesse@redhat.com>

	flatiron: enable compile with --enable-fatal-warnings
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-07-04  Tim Serong  <tserong@novell.com>

	Correct mailing list address in corosync_overview manpage
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 5a3a42dd2b6f9c12af4a653f6bd1b0b808581690)

2011-07-04  Masatake YAMATO  <yamato@redhat.com>

	fix typos in cpg_mcast_joined.3 and cpg_zcb_mcast_joined.3
	(cherry picked from commit 7ba892dac323f9656c16981e02d3612f521bfbdb)

2011-07-04  Steven Dake  <sdake@redhat.com>

	Add coverity target to corosync makefile.am
	Allow a make coverity target for those developers with coverity tools
	available to them.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 899052484eaf3cee08d0a56b6579b73bf2ce99a0)

2011-06-29  Jan Friesse  <jfriesse@redhat.com>

	coroipcc: Test _SC_PAGESIZE result
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 94d934e0e0fa55027a974eb709a488802ee6134e)

	Remove spinlocks
	Spinlocks are now removed, because even spinlock can improve
	speed is some special cases, in most cases it makes corosync CPU usage
	much more intensive and less responsive then if only mutexes are used.

	What we were doing is:
	pthread_mutex_lock
	pthread_spin_lock
	pthread_spin_unlock
	pthread_mutex_unlock

	what is not safe.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(backported from commit 8c717c22b2f137f81ac5ae1a3437d73b62bb451d)

	votequorum: free newly allocated node if nodeid==0
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 5458d4f27ad956d23a27a0d83b9cf9a6e36e68d0)

2011-06-28  Jerome Flesch  <jerome.flesch@netasq.com>

	Fix usage of strerror_r()/perror()
	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(backported from commit 00434a4f10f0a0b0dfb1714504860d7ef560f7fb)

2011-06-28  Steven Dake  <sdake@redhat.com>

	sched_params log message incorrect
	The sched_params parameter was set before being printed.

	Reviewed-by:  <sdake@redhat.com>
	(cherry picked from commit ae4a3af3407ec185f88172fdc88cc6227647565b)

2011-06-28  Jan Friesse  <jfriesse@redhat.com>

	confdb: Resolve dispatch deadlock
	Following situation could happen:
	- one thread is waiting for finish write operation (line 853), objdb is
	  locked
	- flush (done in objdb_notify_dispatch) is called in main thread, but
	  this call will never appear because main thread is waiting for objdb
	  lock.

	In this situation deadlock appears.

	Commit solves this by:
	- setting pipe to non-blocking mode
	- pipe is used only as trigger for coropoll
	- dispatch messages are stored in list
	- main thread is processing messages from list

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit b5d2f4578a239c6ee500e43542a93d0fa48d7fb6)

	objdb: save copy of handles in object_find_create
	Following situation could happen:
	- process 1 thru confdb creates find handle
	- calls find iteration once
	- different process 2 deletes object pointed by process 1 iterator
	- process 1 calls iteration again ->
	  object_find_instance->find_child_list is invalid pointer

	-> segfault

	Now object_find_create creates array of matching object handlers and
	object_find_next uses that array together with check for name. This
	prevents situation where between steps 2 and 3 new object is created
	with different name but sadly with same handle.

	Also good to note that this patch is more or less quick hack rather
	then proper solution. Real proper solution is to not use pointers
	and rather use handles everywhere. This is big TODO.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit e8000c7b9b93b2ac4e6bec39df26755fdd4a8cf0)

2011-06-28  Jiaju Zhang  <jjzhang.linux@gmail.com>

	RRP: Fix ring initialization issue for UDPU mode
	Redundant ring has some problem in the UDP unicast mode. The problem
	is the second ring has not been successfully initialized, that is, the
	second time iface_changes happens, the member list for that interface
	has not been added, which results in that ring cannot transmit normal
	message. So the second ring cannot take over the work if the first
	ring is down. This patch fixes this issue.

	comments from review:
	More work is needed probably in totemnet where totemnet maintains the
	the of node list and an iterator for them, and totemudpu_member_add adds
	state information to a context for the iteration.

	In any regard, that is somewhat difficult to test, so I'll merge this
	patch for now - keep in mind interface changes on the bindnetaddr will
	cause problems with udpu after this patch has been commmitted.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit c6bfc6b5d62d19686104265e8a1b2409f4c1eaf8)

2011-06-28  Jan Friesse  <jfriesse@redhat.com>

	coroipcc: check recvmsg result in socket_recv
	According specification recvmsg can return 0, which means that
	connection is closed. We had this check, but limited only for systems
	other then Linux. recvmsg can return 0 even on Linux, so check is now
	applied on all systems.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 2e5dc5f322a5a852d31f5775debbf51e062695ba)

	confdb: Properly check result of object_find_create
	in confdb_object_iter result of object_find_create is now properly
	checked. object_find_create can return -1 if object doesn't exists.
	Without this check, incorrect handle (memory garbage) was directly
	passed to object_find_next.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 9afb4bdaa84aa3e7b48aa0a5136ee039dc73e19a)

	crypto: rng_make_prng prevent buf overflow
	with bits set to 1023, buf of 256 bytes was filled by rng_get_bytes
	up to 257 bytes. Buf is now 258 bytes so it's no longer problem.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 50f05bfa15622e10f58511e8b0b8dadfe670e12f)

	mainconfig: Check retval of logsys_format_set
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit afa0398ca4a605c0896b0d02b02805db736c0090)

	testcpgzc: fgets buffer to really allocated size
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit aa23d20125ed9845186471e417bbe010978b7c29)

	cpg: do_proc_join change list_slice to list_add
	In this concrete case result is equivalent but makes coverity happy.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit f95d3b3bf206995d0bc04ae4b1855932eaaa4911)

	totemudp: memset of proper size
	In totemudp_mcast_thread_state_constructor memset to
	sizeof(struct totemudp_mcast_thread_state) instead of size of
	pointer.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 531e81602f8b47846aec8573dc57cb8941100367)

	coroipcs: init buf in coroipcs_handler_dispatch
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit ea0a24866ccf27a4010edf75c5d0d223a84c80cd)

	coroparse: don't leak dirent
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit c2a39cb8e2b3cc717dfe273425df3f2b4d0b48c0)

	logsys: _logsys_wthread_create never returns != 0
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit d76bb76d1fef350eef74ada4f834c2011a70889e)

	notifyd: Check retval of corosync_cfg_initialize
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 844c8759d72637e1c7776d598744343ddee62e2e)

	totemconfig: discard check of objdb_get_string ret
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 6b9297131cda9ae874effa4e27ad70601a56d977)

	coroipcc: proper path size in coroipcc_zcb_alloc
	memory_map function internally limits maximum path size to
	PATH_MAX but coroipcc_zcb_alloc passed smaller buffer.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 0273c54054f7e8c83b165daa1a4ded13f78f0515)

	libquorum: memset/memcpy proper size of callbacks
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 6af98e79ee7f0278b641cb8f0cd8d8499988e373)

	iazc: Reduce number of mem alloc and memcpy
	X86 processors are able to handle unaligned memory access. Improve
	performance by using that feature on i386 and x86_64 compatible
	processors, and use old aligning code on different processors.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 77d98081251d1821ff62777dffd4543700737e02)

2011-06-28  Jerome Flesch  <jerome.flesch@netasq.com>

	logsys: When corosync is compiled with --enable-small-memory-footprint, also reduce the size of the logsys SHM
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 6bec0aa2276530d25a1984e90f7bd274f8d0c75b)

	coroipcc_dispatch_get(): Fix --enable-small-memory-footprint support
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit 795aa5e24cee83c88b8a6ea3a3fd06e754f55010)

	coroipcs_handler_dispatch(): Fix conn_info->service security value: -1 is not a good security value since it's equal to SOCKET_SERVICE_INIT
	Reviewed-by: Jan Friesse <jfriesse@redhat.com>
	(cherry picked from commit b11267211515e4fc50882acd5f2afe493c363708)

	coroipcc: Fix unhandled BSD EOF in coroipcc_dispatch_get()
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 76426d7901def8bd7f3da8b07107f765dd8572d4)

	Corosync: Fix build when done with --enable-fatal-warnings
	Reviewed-by: Jan Friesse<jfriesse@redhat.com>
	(backported from commit fe51e703675232a69009245cd9e0523bb1858dd6)

2011-06-28  Russell Bryant  <russell@russellbryant.net>

	logsys.c: Use snprintf() instead of sprintf().
	Change a couple of string functions to use the the output length
	limiting counterpart.

	(cherry picked from commit a53e402912a7c4c4039b928d3b741fe8239ab2f7)

2011-06-28  Jan Friesse  <jfriesse@redhat.com>

	corosync-objctl: Option to display binary data
	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 801717e46391af0b4d3103746b721e663f6db167)

2011-06-28  Angus Salkeld  <asalkeld@redhat.com>

	cpg: fix sync master selection when one node paused.
	If one node is paused it can miss a config change and
	thus report a larger old_members than expected.

	The solution is to use the left_nodes field.

	Master selection used to be "choose node with":
	1) largest previous membership
	2) (then as a tie-breaker) node with smallest nodeid

	New selection:
	1) largest (previous #nodes - #nodes know to have left)
	2) (then as a tie-breaker) node with smallest nodeid

	(cherry picked from commit 956a1dcb4236acbba37c07e2ac0b6c9ffcb32577)

2011-06-28  Jan Friesse  <jfriesse@redhat.com>

	totemsrp: Enhance mcast failure detection
	memb_state_gather_enter increase stats.continuous_gather only if
	previous state was gather also. This should happen only if multicast is
	not working properly (local firewall in most cases) and not if many
	nodes joins at one time.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
	(cherry picked from commit 61d83cd719bcc93a78eb5c718a138b96c325cc3e)

	coroipcs: Deny connect to service without initfn
	If library connect to service with no init function, coroipcs will try
	to dereference NULL pointer. Now we correctly return error code
	CS_ERR_NOT_EXIST.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	(cherry picked from commit 719fddd8e16b6da8694fa84dd2fafbb202401200)

2011-04-15  Tim Serong  <tserong@novell.com>

	Add ipc_refcnt to message_handler_req_{exec, lib}_cfg_ringreenable()
	Without refcounting the conn pointer here, corosync will segfault
	if one kills a running instance of "corosync-cfgtool -r" (rhbz#695191)

	Reviewed-by: Steven Dake <sdake@redhat.com>

	Fix tyop in RRP faulty error messages
	Reviewed-by: Russell Bryant <russell@russellbryant.net>

2011-04-15  Steven Dake  <sdake@redhat.com>

	Align ipc on 8 byte boundaries
	Align all ipc messages on 8 byte boundaries.  This alignment will remove bus
	errors on systems that can't access non-byte aligned data and should improve
	performance.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

	Fix problem where unaligned totemip address access would result in bus error on non-unaligned-safe architectures.
	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2011-04-15  Greg Walton  <corosync@gwalton.net>

	Clean up ENDIAN ifdef tests
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-04-13  Angus Salkeld  <asalkeld@redhat.com>

	IPC: place calls to stats functions outside of mutexes
	This is to prevent nasty deadlocks between IPC and objdb.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-04-12  Zane Bitter  <zane.bitter@gmail.com>

	Provide better checking of the message type
	A negative value for the message type (on systems where char is signed)
	would cause a crash. This is highly probable if the cluster is, for example,
	misconfigured to have encryption enabled on some nodes but not others.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-03-29  Steven Dake  <sdake@redhat.com>

	Fix problem in previous commit leading to compiler error
	commit 78ae800f80fa9cd0fe593724f5c64138c205fec5 was backported from master
	without addressing the lack of a few services in flatiron.

2011-03-29  Angus Salkeld  <asalkeld@redhat.com>

	Fix shutdown when a confdb client is still connected
	If you are connected to corosync and registered for
	object notifications then corosync is asked to shutdown
	the IPC server will get stuck. This is because the pipe
	is closed and the refcount is increased. This leaves ipcs
	with a connection that it can't destroy.

	Solution:
	1) if a write to the pipe fails (pipe closed) decrement the refcounter.
	2) fix the object_track_stop() - it was not working as the functions
	   did not match up. (this caused the late callbacks).
	3) in ipcs call exit_fn() then stats_destroy_connection() so that
	   the service engine can have time to call object_track_stop()
	   before the object gets destroyed.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	STATS: add the service name to the connection name.
	This helps to quickly identify what service the application
	is connected to.

	The object will now look like:
	runtime.connections.corosync-objctl:CONFDB:19654:13.service_id=11
	runtime.connections.corosync-objctl:CONFDB:19654:13.client_pid=19654
	etc...

	This also makes it clearer to receivers of the dbus/snmp events
	what is going on.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	NOTIFYD: prevent duplicate quorate events.
	Reviewed-by: Steven Dake <sdake@redhat.com>

	NOTIFYD: fix retrieving the application's parent name.
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-03-24  Angus Salkeld  <asalkeld@redhat.com>

	confdb: send notifications from the main thread not IPC thread
	corosync-notifyd has exposed an issue with confdb notifications.

	The normal state of affairs is:
	IPC thread > lock > objdb > lock

	objdb notification whilst really useful turn things around:
	<middle of big call chain>
	objdb > lock > confdb > ipc > lock

	This reverse ordering of locks causes a horrible dead lock.

	I see this patch as a work around until corosync-2.0
	when most of the threads and locking disappear.

	This patch adds a pipe to confdb service. When we get a
	objdb notification a struct gets written to the pipe.
	The poll loop then runs the dispatch in the main thread.
	In the dispatch we call the real ipc_dispatch_send().

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-03-24  Steven Dake  <sdake@redhat.com>

	totemsrp: free messages originated in recovery rather then rely on messages_free
	Relying on messages_free may seem like it should work, but it leads to a
	situation where every node has released the messages, yet some nodes think
	messages are missing.  The output then looks like "Retransmit: #" in
	repitition.  This patch frees those messages immediately during the transition
	to the OPERATIONAL state and sets the internal variables totemsrp depends
	upon to the proper values.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>

	totemsrp: Only restore old ring id information one time
	The current code stores the current ring information every time a commit
	token is generated.  This causes the old ring id used for comparison purposes
	to increase if a token is lost in commit or recovery, resulting in failure of
	totem.  This patch changes the behavior to only store the old ring id one
	time when the commit token is received, and then further commit token ring
	id saves are not done until OPERATIONAL is reached.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>

	totemsrp: Remove recv_flush code
	The recv_flush code is no longer necessary because of the miss_count_count
	addition.  It can in some cases lead to register corruption because of
	interactions with -fstack-protector, the recursive nature of how this code
	works, and interactions with the optimizer in some versions of gcc.

	Reviewed-by: Jan Friesse <jfriesse@redhat.com>

2011-03-21  Steven Dake  <sdake@redhat.com>

	Resolve abort during simulatenous stopping of atleast 4 nodes
	consider 5 nodes.

	node 3,4 stopped (by random stopping) node 1,2,5 form new configuration
	and during recovery node 1 and node 2 are stopped (via service service
	corosync stop).  This causes 5 never to finish recovery within the timeout
	period, triggering a token loss in recovery.  Bug #623176 resolved an assert
	which happens because the full ring id was being restored.  The resolution
	to Bug #623176 was to not restore the full ring id, and instead operate
	(according to specifications) the new ring id.  Unfortunately this exposes
	a problem whereby the restarting of nodes 1-4 generate the same ring id.
	This ring id gets to the recovery failed node 5 which is now in gather,
	and triggers a condition not accounted for in the original totem specification.

	It appears later work from Dr. Agarwal's PHD dissertation considers this
	scenario.  That solution entails rejecting the regular token in the above
	condition.  Since the ring id is also used to make decisions for commit token
	acceptance, we must also take care to reject the regular token in all cases
	after transitioning from OPERATIONAL.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-03-21  Angus Salkeld  <asalkeld@redhat.com>

	notifyd: dispatch only one message at a time.
	This is avoid getting stuck in the dispatch processing
	messages when the user is trying to shutdown the service.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-03-15  Angus Salkeld  <asalkeld@redhat.com>

	Remove the ttl option from udpu and rely on the kernel ttl setting.
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

	Fix the ttl defaults and range
	1) both IPv4 and IPv6 mcast should default to ttl=1
	2) the range should be 0..255
	   0 is valid meaning localhost only (cluster of one)

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2011-03-08  Steven Dake  <sdake@redhat.com>

	Fix abort when token is lost in RECOVERY state
	A commit token should be rejected when a token is lost in the recovery
	state.  This occurs naturally because the ring id increases by 4 for
	every new ring.  Prior to this patch, if the token was lost, the old
	ring id information was restored, causing a commit token to be accepted
	when it should be rejected.  This erronously accepted commit token would
	lead to an assertion which is fixed by this patch.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2011-02-28  Jan Friesse  <jfriesse@redhat.com>

	objdb: destroy all handles in _clear_object
	Patch replaces free for object_instance with handle_destroy to remove
	leaks in handles (and also memory leak).

	Reviewed-by: Steven Dake <sdake@redhat.com>

	Iterate all items in object_reload_notification
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-02-24  Steven Dake  <sdake@redhat.com>

	Don't assert when ring id file is less then 8 bytes
	If the ring id file for the processor is less then 8 bytes, totemsrp would
	assert.  Our speculation is that this condition happens during a fencing
	operation or local filesystem corruption.

	With this patch, Corosync will create fresh ring id file data when the
	incorrect number of bytes are read from the ring id.

	Amend to use sizeof the strerror string length and PATH_MAX for the path length.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

	snmp: Allow buildling of corosync on already existing older install of corosync
	When building corosync against older libraries already installed on the system,
	the corosync-notifyd application uses the wrong Makefile.am commands.  This
	results in the SNMPLIBS (which includes -L/usr/lib64) coming before the proper
	LDADD flags.  The result is an inability to compile on an already existing
	installation.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2011-02-10  Angus Salkeld  <asalkeld@redhat.com>

	Fix merge markers in spec file

2011-02-09  Angus Salkeld  <asalkeld@redhat.com>

	Make node state a string (not an integer)
	Ryan noticed this inconsistency, all other status's
	are string so this should be too.

	Reviewed-by: Seven Dake <sdake@redhat.com>
	Reviewed-by: Ryan O'Hara <rohara@redhat.com>

	objdb: fix some strange types (uint8_t* -> void*).
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3045 fd59a12c-fef9-0310-b244-a6a79926bd2f

2011-02-04  Steven Dake  <sdake@redhat.com>

	Conflicts previously resolved were not merged.

2011-02-04  Angus Salkeld  <asalkeld@redhat.com>

	MIB: expand the descriptions of the notifications
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-02-04  Lon Hohberger  <lhh@redhat.com>

	Match up MIB to notifyd & add SNMP quorum events
	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

	Make SNMP MIB match what is being sent over DBUS
	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2011-02-04  Steven Dake  <sdake@redhat.com>

	Add dbus and snmp notifier
	This is to send dbus events on major cluster events:
	 - membership changes
	 - application connect/dissconnet from corosync
	 - quorum changes

	dbus events can then be converted into snmp traps by foghorn or
	corosync-notifyd can be run to directly send snmp traps.

	Reviewed-by: Steven Dake <sdake@redhat.com>
	Reviewed-by: Russell Bryant <russell@russellbryant.net>
	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

	Conflicts:

		Makefile.am
		configure.ac
		corosync.spec.in

	Conflicts Reviewed-by: Steven Dake <sdake@redhat.com>

2011-02-04  Angus Salkeld  <asalkeld@redhat.com>

	CONFDB: add confdb_object_name_get()
	This is useful when tracking object changes.

	Reviewed-by: Seven Dake <sdake@redhat.com>

	STATS: fix key name length on "join_count"
	Reviewed-by: Seven Dake <sdake@redhat.com>

	STATS: increase the space for application names
	Reviewed-by: Seven Dake <sdake@redhat.com>

2011-01-26  Angus Salkeld  <asalkeld@redhat.com>

	CPG: make sure coroipcc_service_disconnect() is always called.
	This prevents a shared mem leak if corosync dies while clients
	are connected.

	Calling cpg_finalize() did not release the shared mem as
	coroipcc_msg_send_reply_receive() returned an error and
	thus coroipcc_service_disconnect() did not get called.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	IPC: send failure message to client if memory maps fail
	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-01-26  Jan Friesse  <jfriesse@redhat.com>

	Add objdb firewall_enabled_or_nic_failure
	New objdb var runtime.totem.pg.mrp.srp.firewall_enabled_or_nic_failure
	is set to 1 if continuous_gather is larger then MAX_NO_CONT_GATHER.
	Under normal conditions, value of variable is 0.

	Reviewed-by: Steven Dake <sdake@redhat.com>

	Display warning when not possible to form cluster
	This may typically happen if local firewall is enabled. Patch adds new
	item to statistics called continuous_gather where is number of
	continuous entered gather state. If this number is bigger then
	MAX_NO_CONT_GATHER, warning message is displayed. This is also used on
	exiting, so stop of corosync is now possible even with enabled firewall.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-01-26  Angus Salkeld  <asalkeld@redhat.com>

	Add totem/interface/ttl config option.
	This adds a per-interface config option to
	adjust the TTL.

	Reviewed-by: Steven Dake <sdake@redhat.com>

2011-01-11  Steven Dake  <sdake@redhat.com>

	Handle delayed multicast packets that occur with switches
	Some switches delay multicast packets vs the unicast token.  This patch works
	around that problem by providing a new tuneable called miss_count_const.  This
	tuneable works by counting the number of times a message is found missing
	and once reaching the const value, marks it as missing in the retransmit list.

	This improves performance and doesn't display warning messages about missed
	multicast messages when operating in these switching environments.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2010-12-01  Fabio M. Di Nitto  <fdinitto@redhat.com>

	build: fix make srpm from release tarball
	Reviewed-by: Steven Dake <sdake@redhat.com>

	build: fix rpm build to include corosync-blackbox
	Reviewed-by: Steven Dake <sdake@redhat.com>

2010-12-01  Steven Dake  <sdake@redhat.com>

	Merge branch 'flatiron' of ssh://corosync.org/var/lib/git/corosync into flatiron

2010-12-01  Fabio M. Di Nitto  <fdinitto@redhat.com>

	build: fix makefile to ship corosync.conf.example.udpu
	Reviewed-by Angus Salkeld <asalkeld@redhat.com>

2010-12-01  Steven Dake  <sdake@redhat.com>

	Merge branch 'flatiron' of ssh://corosync.org/var/lib/git/corosync into flatiron

	Set the max buffer size for sockets
	Set the recv buffer to a large size and the send buffer to a large size to
	allow the kernel to store more messages before dropping messages.

	Amended to change optlen type to socklen_t

	Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

2010-11-28  Steven Dake  <sdake@redhat.com>

	The flushing code was introducing data corruption because of recursion errors that occur as a result of the design of udpu.  Totem no longer requires the flushing technique because we don't mark a packet as missing until it has not been seen by a certain number of token rotations per a previous patch.  This mechanism was introduced to work around a problem in switches where multicast messages may be delayed by long periods compared to the unicast token.
	This patch removes the flushing logic from udpu since it is no longer necessary.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2010-11-19  Angus Salkeld  <asalkeld@redhat.com>

	diags: add a mechanism to trigger the writing the flight data
	trigger the dumping of flight data using:
	 corosync-objctl -w runtime.blackbox.dump_flight_data=anything
	trigger the dumping of state using:
	 corosync-objctl -w runtime.blackbox.dump_state=anything

	then read the flight data as usual:
	 corosync-fplay

	This patch includes a wrapper script called:
	 corosync-blackbox

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2799 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  Steven Dake  <sdake@redhat.com>

	Add the UDPU transport
	The UDPU transport is useful for those deployments which can't use multicast.
	UDPU works by using UDP unicast, which is fully supported by every switch
	manufacturer by default and doesn't rely on a functional IGMP implementation.

	An example of the UDPU transport is contained in the corosync.conf.example.udpu
	file which shows a 16 node cluster.  This file should be copied to each node
	in the cluster and IP addresses changed as appropriate.

	Amended to remove dead udpu REUSEADDR socket option.


	Conflicts:

		Makefile.am
		exec/Makefile.am

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2010-11-18  Angus Salkeld  <asalkeld@redhat.com>

	add a list of member nodes into the objdb runtime tree.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2678 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  root  <root@cast.broked.org>

	add a list of member nodes into the objdb runtime tree.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2678 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Conflicts:

		exec/main.c
		exec/tsafe.c

2010-11-18  Angus Salkeld  <asalkeld@redhat.com>

	Add -i <num-iterations> to cpgverify
	Reviewed-by: Steven Dake <sdake@redhat.com>

2010-11-18  Steven Dake  <sdake@redhat.com>

	New topic descriptions based upon work community wants to do
	This file describes the topics of interest for development, their start and
	finish date, their main developer, and a description of the topic.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

	Add -n option to corosync-objctl to create a new object/key combo
	Find an existing parent object and add the last object/key name of the command
	to the object database.  This allows the runtime addition of ip addresses to
	the list of IPs corosync knows about for the purpose of the UDPU transport mode.

	Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

2010-11-18  Jan Friesse  <jfriesse@redhat.com>

	Remove delay in library on corosync shutdown
	Patch removes 2 seconds delay in library on normal corosync shutdown.
	Delay is still present on abnormal shutdown.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3059 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  Angus Salkeld  <asalkeld@redhat.com>

	Check for a properly configured multicast address.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3057 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb: fix some ugly indentation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3048 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb: delete trackers when an object is deleted
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3047 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb: object_created_notification() fix the order of the parent and object handles.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3046 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add float and double support to corosync-objctl
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3044 fd59a12c-fef9-0310-b244-a6a79926bd2f

	CPG: remove irratating log "downlist received left_list:"
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3043 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg: fix unitialized variable
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2814 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg: fix sync'ing the downlist.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2801 fd59a12c-fef9-0310-b244-a6a79926bd2f

	select a new sync member if the node with the lowest nodeid has left.
	Problem:

	Under certain circumstances cpg does not send group leave messages.

	With a big token timeout (tested with token == 5min).
	1 start all nodes
	2 start ./test/testcpg on all nodes
	2 go to the node with the lowest nodeid
	3 ifconfig <int> down && killall -9 corosync && /etc/init.d/corosync restart && ./testcpg
	4 the other nodes will not get the cpg leave event
	5 testcpg reports an extra cpg group (basically one was not removed)

	Solution:
	If a member gets removed using the new trans_list and
	that member is the node used for syncing (lowest nodeid)
	then the next lowest node needs to be chosen for syncing.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2785 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  Jan Friesse  <jfriesse@redhat.com>

	CPG model_initialize and ringid + members callback
	Patch adds new function to initialize cpg, cpg_model_initialize. Model
	is set of callbacks. With this function, future addions of models
	should  be possible without changing the ABI.

	Patch also contains callback in CPG_MODEL_V1 for notification about
	Totem membership changes.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2770 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  Steven Dake  <sdake@redhat.com>

	Patch from Kacper Kowalik to support honoring user defined LDFLAGS.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3042 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Conflicts:

		cts/agents/Makefile.am
		exec/Makefile.am
		services/Makefile.am

	Patch from Kacper Kowalik to add support for --enable-user-flags configure option.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3041 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Keisuke Mori to add proper dependeny on syslog to corosync init script.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3038 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-18  Angus Salkeld  <asalkeld@redhat.com>

	POLL: gracefully handle running out of file descriptors.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3028 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-11-10  Fabio M. Di Nitto  <fdinitto@redhat.com>

	build: fix spec file and srpm/rpm generation
	Reviewed-by: Steven Dake <sdake@redhat.com>

2010-11-10  Steven Dake  <sdake@redhat.com>

	add release script and git based versioning
	Reviewed-by: Steven Dake <sdake@redhat.com>

	Conflicts:

		Makefile.am
		corosync.spec.in

	Add license information to LICENSE file about build process files
	A few files licensed under GPLv3+ produce text output but are not used as
	part of the runtime or libraries provided by Corosync.  Make that notification
	in the LICENSE file.

	Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>

2010-11-10  Angus Salkeld  <asalkeld@redhat.com>

	Add .gitignore files.
	Otherwise "git status" is a pain.

	Reviewed-by: Steven Dake <sdake@edhat.com>

2010-09-07  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3039: r3039 | sdake | 2010-09-03 10:04:42 -0700 (Fri, 03 Sep 2010) | 2 lines
	change shutdown priority to 80 in generic.in.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3040 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-08-31  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3034: r3034 | sdake | 2010-08-31 12:02:19 -0700 (Tue, 31 Aug 2010) | 2 lines
	Bump version to 1.2.8.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3035 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3030: r3030 | sdake | 2010-08-31 11:55:27 -0700 (Tue, 31 Aug 2010) | 3 lines
	Build properly with different versions of libc by including all posix APIs
	in header definitions.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3033 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3029: r3029 | asalkeld | 2010-08-24 18:13:14 -0700 (Tue, 24 Aug 2010) | 2 lines
	IPC: return CS_ERR_NO_RESOURCES to library when low on fds.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3032 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3028: r3028 | asalkeld | 2010-08-24 18:07:37 -0700 (Tue, 24 Aug 2010) | 2 lines
	POLL: gracefully handle running out of file descriptors.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3031 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-08-24  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3024: r3024 | sdake | 2010-08-24 11:45:43 -0700 (Tue, 24 Aug 2010) | 2 lines
	Remove checking of sub parameters in service.d files.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3027 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3011: r3011 | honzaf | 2010-08-02 05:38:19 -0700 (Mon, 02 Aug 2010) | 5 lines
	Check that Corosync was not runned by cman
	    
	Patch fixes init script so it's tested, if corosync was runned
	by cman or not. If so, it refuses to stop Corosync.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3026 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3010: r3010 | honzaf | 2010-08-02 05:36:20 -0700 (Mon, 02 Aug 2010) | 7 lines
	Allow running only one instance of Corosync

	Patch makes Corosync more compliant with common practices
	for writing daemon. It creates pid file (usually
	/var/run/corosync.pid) and flocks it. So only one instance
	of Corosync can be executed now.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3025 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-08-17  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3022: r3022 | sdake | 2010-08-17 11:08:13 -0700 (Tue, 17 Aug 2010) | 2 lines
	Properly detect shutdown of corosync process



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3023 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-08-03  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3012: r3012 | sdake | 2010-08-03 10:31:33 -0700 (Tue, 03 Aug 2010) | 2 lines
	Remove cancel token retransmit timeout.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3013 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-27  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 3007: r3007 | sdake | 2010-07-27 14:32:39 -0700 (Tue, 27 Jul 2010) | 2 lines
	Change trunk version to 1.2.7.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3008 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3005: r3005 | sdake | 2010-07-27 12:00:37 -0700 (Tue, 27 Jul 2010) | 3 lines
	Remove consensus check for two node cluster cases which can have smaller
	consensus values.  Document in man page the behavior of consensus.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3006 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-22  Angus Salkeld  <asalkeld@redhat.com>

	Merge trunk revision 3002: r3002 | sdake | 2010-07-22 06:48:40 +1000 (Thu, 22 Jul 2010) | 2 lines Fix merge error with revision 3001.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3004 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 3001: r3001 | sdake | 2010-07-22 03:03:36 +1000 (Thu, 22 Jul 2010) | 3 lines Fix problem where flow control could lock up ipc under very heavy load in very rare circumstances.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@3003 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-19  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2995: r2995 | asalkeld | 2010-07-16 21:59:40 -0700 (Fri, 16 Jul 2010) | 9 lines
	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/branches/flatiron@3000 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2991: r2991 | asalkeld | 2010-07-15 19:08:54 -0700 (Thu, 15 Jul 2010) | 2 lines
	 SYNCV2: reset the my_memb_determine_ring_id in sync_v2_memb_list_abort()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2999 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2997: r2997 | fabbione | 2010-07-18 23:36:48 -0700 (Sun, 18 Jul 2010) | 4 lines
	Fix logging_daemon config parser code.

	Resolves: rhbz#615203


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2998 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-14  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2988: r2988 | sdake | 2010-07-14 11:35:36 -0700 (Wed, 14 Jul 2010) | 4 lines
	Remove reset of token timeout on retransmitted token reception.  The timer
	should only be reset when a real token is received or membership protocol
	could run into problems with certain timing parameters.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2989 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-07  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2986: r2986 | sdake | 2010-07-07 14:43:15 -0700 (Wed, 07 Jul 2010) | 2 lines
	Speed up IPC connection process.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2987 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-07-04  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2984: r2984 | sdake | 2010-07-03 14:54:22 -0700 (Sat, 03 Jul 2010) | 2 lines
	Fix fail list fault that occurs in very rare circumstances.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2985 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-30  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2980: r2980 | sdake | 2010-06-30 12:42:04 -0700 (Wed, 30 Jun 2010) | 2 lines
	Bump trunk revision to 1.2.6.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2982 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2979: r2979 | sdake | 2010-06-30 12:39:55 -0700 (Wed, 30 Jun 2010) | 2 lines
	Have makefile create /var/log/cluster rather then corosync.spec file.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2981 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2976: r2976 | beekhof | 2010-06-30 03:20:42 -0700 (Wed, 30 Jun 2010) | 1 line
	Safely redirect stderr/in/out to /dev/null to prevent fork() from crashing



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2978 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2963: Fix OBJDB locking
	Patch fixes following situation:

	1. objdb receives reload notification and ends in function
	object_reload_config. This will call objdb_wrlock. I will call this
	thread #1

	2. Another thread will decide to update corosync statistics and calls
	object_key_increment. This calls objdb_rdlock. This thread is #2. But
	because condition (lock_thread != pthread_self()) is satisfied, it will
	also calls pthread_rwlock_rdlock. This will blocks, because thread #1
	holds the lock.

	3. object_reload_config will call reload functions (as real example
	xml2objdb). xml2objdb needs to calls object_create. This calls
	objdb_rdlock, but will hang on pthread_mutex_lock(&meta_lock), because
	this lock is held by thread #2.

	-> deadlock

	It is handled by using recursive mutex.

	Also every function is now really locked.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2977 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-29  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2974: r2974 | sdake | 2010-06-29 11:15:20 -0700 (Tue, 29 Jun 2010) | 3 lines
	Patch to fix stack protector sig abort that occurs when ipc buffer is too
	short.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2975 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2972: r2972 | asalkeld | 2010-06-28 22:31:44 -0700 (Mon, 28 Jun 2010) | 2 lines
	ipc: Fix error handling of mmap util functions.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2973 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2970: r2970 | sdake | 2010-06-28 16:30:49 -0700 (Mon, 28 Jun 2010) | 3 lines
	Have corosync spec file own /var/log/cluster/corosync.log
	have example use /var/log/cluster/cluster.log as default log file



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2971 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2964: r2964 | sdake | 2010-06-28 15:15:48 -0700 (Mon, 28 Jun 2010) | 3 lines
	Fix problem where flight data leaks files in /dev/shm when corosync is
	restarted continuously via init scripts.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2969 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2962: r2962 | honzaf | 2010-06-23 01:39:49 -0700 (Wed, 23 Jun 2010) | 13 lines
	Remove pathconf which may fall

	Corosync has problem with readdir_r if pathconf function fails.

	Main problem is hidden in calling pathconf (internally calls statfs)
	which may fail. After this fail, newly allocated memory for readdir_r
	was smaller than expected and memory was overwritten by readdir_r.

	Patch removes calling of pathconf and rather use NAME_MAX constant which
	is always large enough for all file systems.

	Also return value of malloc SHOULD be checked.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2968 fd59a12c-fef9-0310-b244-a6a79926bd2f

	merge trunk revision 2961: r2961 | asalkeld | 2010-06-21 14:03:36 -0700 (Mon, 21 Jun 2010) | 2 lines
	Add make/spec file changes for corosync & blackbox man pages.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2967 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2960: r2960 | asalkeld | 2010-06-21 13:43:22 -0700 (Mon, 21 Jun 2010) | 2 lines
	Add a simple man page for corosync



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2966 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2959: r2959 | asalkeld | 2010-06-21 13:42:28 -0700 (Mon, 21 Jun 2010) | 2 lines
	Add a man page for corosync-blackbox


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2965 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-21  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2956: r2956 | sdake | 2010-06-21 11:17:47 -0700 (Mon, 21 Jun 2010) | 2 lines
	Change version to 1.2.5 in trunk.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2957 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixup initrddir which was missing from a previous merge conflict
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2955 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2953: r2953 | sdake | 2010-06-18 17:27:46 -0700 (Fri, 18 Jun 2010) | 3 lines
	Stop the totem stats updater timer during shutdown to prevent references to
	invalid memory.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2954 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-19  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2949: r2949 | sdake | 2010-06-18 17:10:41 -0700 (Fri, 18 Jun 2010) | 2 lines
	Unlock global serializer lock during shutdown.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2952 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2948: r2948 | beekhof | 2010-06-18 07:33:01 -0700 (Fri, 18 Jun 2010) | 6 lines
	Prevent segfault in fork()

	Not closing stdin/stderr/stdout leads to a segfault in fresetlockfiles()
	See https://lists.linux-foundation.org/pipermail/openais/2010-June/014854.html for further info.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2951 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2943: r2943 | sdake | 2010-06-09 18:18:27 -0700 (Wed, 09 Jun 2010) | 8 lines
	changes to corosync.spec.in template:

	Move configure to %build section
	don't set corosync's init levels during an upgrade of the corosync package

	Patch from Vadym Chepkov


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2950 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-15  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2946: Patch from Honza: Send CPG_REASON_PROCDOWN on process left
	Our manual pages are clear:

	CPG_REASON_PROCDOWN - the process left a group without calling
	cpg_leave().

	Currently, we are sending CPG_REASON_LEAVE in such situation.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2947 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2944: r2944 | chrissie | 2010-06-15 08:48:58 -0700 (Tue, 15 Jun 2010) | 5 lines
	object_key_iter() calls object_key_iter_typed() and then always tries to
	dereference the string it returns, even if the call fails. The attached
	patch fixes this.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2945 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-06-09  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2939: r2939 | sdake | 2010-06-09 14:56:37 -0700 (Wed, 09 Jun 2010) | 2 lines
	update version to 1.2.4.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2940 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk 2922: r2922 | sdake | 2010-06-09 13:14:50 -0700 (Wed, 09 Jun 2010) | 2 lines
	Update logsys to use proper ring buffer on file backed map



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2938 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2920: r2920 | sdake | 2010-06-03 15:05:17 -0700 (Thu, 03 Jun 2010) | 2 lines
	sem_wait can be interrupted by signal.  Handle interruption properly.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2937 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2919: r2919 | sdake | 2010-06-03 14:36:21 -0700 (Thu, 03 Jun 2010) | 3 lines
	Fix fail to receive logic which occurs very rarely on high loss networks with
	software based multicast.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2936 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2917: r2917 | sdake | 2010-06-01 13:35:53 -0700 (Tue, 01 Jun 2010) | 17 lines
	Totem spec is clear:

	reject retransmitted tokens
	if token.aru = aru in token on last rotation ... do some logic

	Here is how the current code works:

	last_aru = instance->my_last_aru;
	instance->my_last_aru = token->aru;
	reject retransmitted tokens
	if token.aru = aru in token on last rotation ... do some logic

	The issue is last_aru will be set to token->aru when a token retransmission
	occurs before a new token arrives.

	This results in the "do some logic" part happening more often then it should.    


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2935 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2916: r2916 | sdake | 2010-06-01 08:36:08 -0700 (Tue, 01 Jun 2010) | 2 lines
	Fix problem where callbacks are not delivered to evs service.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2934 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2915: r2915 | sdake | 2010-05-28 13:39:58 -0700 (Fri, 28 May 2010) | 22 lines
	The static function 'decode_mode()' is used by the static function
	'dump_subsys_config()' which is is turn used by the static function
	'dump_full_config()' which is never used.

	Are these functions used by someone using some magic? I did not find
	any reference and even the flag LOGSYS_DEBUG, which prevents them from
	compiling, does not exist at some other point.

	If these functions are really not used, please remove them (because at
	least one of them has a buffer overflow). Patch against 1.2.3
	is attached.

	If there is a need for these functions, I'll send a patch to fix
	the 'decode_mode()' function.

	Kind regards

	Andreas Florath




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2933 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2914: r2914 | asalkeld | 2010-05-27 16:56:38 -0700 (Thu, 27 May 2010) | 2 lines
	Add a man page for corosync-quorumtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2932 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2913: r2913 | asalkeld | 2010-05-27 16:55:55 -0700 (Thu, 27 May 2010) | 2 lines
	Add a man page for corosync-pload



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2931 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2912: r2912 | asalkeld | 2010-05-27 16:55:22 -0700 (Thu, 27 May 2010) | 2 lines
	Add man page for corosync-fplay.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2930 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trun krevision 2911: r2911 | asalkeld | 2010-05-27 16:54:32 -0700 (Thu, 27 May 2010) | 2 lines
	Add man page for corosync-cpgtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2929 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2910: r2910 | asalkeld | 2010-05-27 16:52:53 -0700 (Thu, 27 May 2010) | 2 lines
	Add man page for corosync-cfgtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2928 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2909: r2909 | asalkeld | 2010-05-27 16:51:52 -0700 (Thu, 27 May 2010) | 2 lines
	Really corosync-keygen.8



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2927 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk trevision 2905: r2908 | asalkeld | 2010-05-27 16:49:00 -0700 (Thu, 27 May 2010) | 2 lines
	Add a man page for corosync-keygen and update corosync_overview



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2926 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2907: r2907 | honzaf | 2010-05-27 01:05:31 -0700 (Thu, 27 May 2010) | 11 lines
	coroipcc - don't loop forever on EINTR

	This patch unify behaviour of SYS V semaphores and POSIX semaphores.
	POSIX semaphores never return CS_ERR_TRY_AGAIN on EINTR and keeps
	waiting. This was fixed for SYS V semaphores in rev. 2303.

	Another change is to remove very small probability of hung forever in
	coroipcc_dispatch_put.

	Last change is removal of duplicate code by adding ipc_sem_wait function.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2925 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2906: r2906 | sdake | 2010-05-26 10:47:39 -0700 (Wed, 26 May 2010) | 3 lines
	Fix problem where memcpy operation occurs incorrectly to copy schedule
	parameter data resulting in priority inversion deadlocks on single cpu systems.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2924 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trun krevision 2905: r2905 | asalkeld | 2010-05-21 01:53:52 -0700 (Fri, 21 May 2010) | 2 lines
	makefile: add -lquorum -lcoroipcc to sam test programs



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2923 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-05-19  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2901: r2901 | sdake | 2010-05-19 07:01:06 -0700 (Wed, 19 May 2010) | 2 lines
	Bump revision to 1.2.3.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2902 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2900 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2857: r2857 | sdake | 2010-05-18 22:30:18 -0700 (Tue, 18 May 2010) | 2 lines
	Fix leak in error path in nss encryption.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2899 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2856: r2856 | sdake | 2010-05-18 22:26:13 -0700 (Tue, 18 May 2010) | 13 lines
	This patch updates the wording for the bindnetaddr option
	in corosync.conf to explicitly state that you need to use
	the network address, as opposed to "should always end in
	zero", which is only correct for class C networks.

	Regards,

	Tim


	--
	Tim Serong <tserong@novell.com>



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2898 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2855: r2855 | sdake | 2010-05-18 22:03:52 -0700 (Tue, 18 May 2010) | 2 lines
	Make cpg_membership_get() functional.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2897 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2854: r2854 | asalkeld | 2010-05-18 21:35:25 -0700 (Tue, 18 May 2010) | 2 lines
	cov 10412: fix mem leak in encrypt_and_sign_nss()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2896 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2853: r2853 | asalkeld | 2010-05-18 21:34:53 -0700 (Tue, 18 May 2010) | 8 lines
	add __attribute__((noreturn)) to functions that always exit.

	we had some __attribute__((__noreturn__))
	and some    __attribute__((noreturn))

	I made them all: __attribute__((noreturn))



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2895 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2852: r2852 | sdake | 2010-05-18 10:20:05 -0700 (Tue, 18 May 2010) | 3 lines
	Fix free of ring status information when memory allocation fails during
	allocation of the ring status information.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2894 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2851: r2851 | sdake | 2010-05-18 09:44:59 -0700 (Tue, 18 May 2010) | 2 lines
	Fix signed comparison with unsigned value in mainconfig.c



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2893 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2850: r2850 | asalkeld | 2010-05-17 17:46:35 -0700 (Mon, 17 May 2010) | 2 lines
	cov 10388: fix check for no mcast address



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2892 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2849: r2849 | asalkeld | 2010-05-17 17:46:08 -0700 (Mon, 17 May 2010) | 6 lines
	cov (many): make sure all _set() functions return a signed int

	in the body it can return -1, and callers check for -1.
	but the return type is unsigned int?



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2891 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2848: r2848 | asalkeld | 2010-05-17 17:43:41 -0700 (Mon, 17 May 2010) | 2 lines
	cov 10391: allow assert to check for a negative number



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2890 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2847: r2847 | asalkeld | 2010-05-17 17:14:02 -0700 (Mon, 17 May 2010) | 2 lines
	cov 10404: don't assign loc pointer when not used.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2889 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2846: r2846 | sdake | 2010-05-17 17:13:54 -0700 (Mon, 17 May 2010) | 3 lines
	Fix problem where logsys messages are not flushed at exit before worker thread
	is created.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2888 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2845: r2845 | asalkeld | 2010-05-17 17:12:52 -0700 (Mon, 17 May 2010) | 2 lines
	cov 10405: remove unused pointer from totemsrp.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2887 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2844: r2844 | asalkeld | 2010-05-16 16:35:45 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10373: check poll return value



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2886 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2843: r2843 | asalkeld | 2010-05-16 15:23:25 -0700 (Sun, 16 May 2010) | 2 lines
	Fix compile error in services/cfg.c



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2885 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2842: r2842 | asalkeld | 2010-05-16 14:40:19 -0700 (Sun, 16 May 2010) | 5 lines
	cov 10392: remove pointless assert

	backlog is unsigned



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2884 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2841: r2841 | asalkeld | 2010-05-16 14:36:51 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10413: crypto init a variable.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2883 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2840: r2840 | asalkeld | 2010-05-16 14:35:52 -0700 (Sun, 16 May 2010) | 2 lines
	cov (10387, 10397): cleanup memory mapping functions



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2882 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2839: r2839 | asalkeld | 2010-05-16 14:34:41 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10374: check sam_hc_send() before counter++



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2881 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2838: r2838 | asalkeld | 2010-05-16 14:33:32 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10399: set the msg_flags to 0 in coroipcs.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2880 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2837: r2837 | asalkeld | 2010-05-16 14:32:21 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10390: remove pointless assert.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2879 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2836: r2836 | asalkeld | 2010-05-16 14:31:28 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10389: remove unneccessary check.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2878 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2835: r2835 | asalkeld | 2010-05-16 14:29:30 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10371: check return of lcr_ifact_reference



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2877 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2834: r2834 | asalkeld | 2010-05-16 14:28:13 -0700 (Sun, 16 May 2010) | 3 lines
	cov 10401: error_string never set



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2876 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2833: r2833 | asalkeld | 2010-05-16 14:26:15 -0700 (Sun, 16 May 2010) | 2 lines
	cov 10411: fix leak in totemudp.c



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2875 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2832: r2832 | asalkeld | 2010-05-16 14:25:33 -0700 (Sun, 16 May 2010) | 5 lines
	cov 10400: unit'ed variable.

	not important, easy to fix.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2874 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2831: r2831 | sdake | 2010-05-14 01:01:03 -0700 (Fri, 14 May 2010) | 2 lines
	Merge patch from Sato Yuki which fixes corosync-cfgtool -r



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2873 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2829: r2829 | asalkeld | 2010-05-13 19:08:02 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10378: fix syntax error.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2872 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2828: r2828 | asalkeld | 2010-05-13 19:07:39 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10385: assigning signed int to unsigned variable



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2871 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2827: r2827 | asalkeld | 2010-05-13 19:06:30 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10384: better error handling from accept()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2870 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2826: r2826 | asalkeld | 2010-05-13 19:06:00 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10383: impove the error handling after socket()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2869 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2825: r2825 | asalkeld | 2010-05-13 19:05:32 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10382: improve error handling around open()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2868 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2824 r2824 | asalkeld | 2010-05-13 19:04:53 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10381: check result of open()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2867 fd59a12c-fef9-0310-b244-a6a79926bd2f

	merge trunk revision 2823: r2823 | asalkeld | 2010-05-13 19:03:49 -0700 (Thu, 13 May 2010) | 2 lines
	cov 10379 &10380: check result of open before calling ftruncate.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2866 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2795: r2795 | sdake | 2010-04-29 22:18:02 -0700 (Thu, 29 Apr 2010) | 3 lines
	The retransmit token storage area is an improper type of an array of pointers
	rather then a pointer to a buffer.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2865 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2794: r2794 | sdake | 2010-04-29 22:15:41 -0700 (Thu, 29 Apr 2010) | 5 lines
	When a message is retransmitted, a memmove operation is done to remove the
	newly retransmitted entry from the list.  It is possible this memmove operation
	can buffer overflow because it has an invalid length calculation fixed by this
	revision.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2864 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2793: r2793 | sdake | 2010-04-29 22:14:08 -0700 (Thu, 29 Apr 2010) | 2 lines
	Allow maximum entries in the retransmit queue when recovery takes place.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2863 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2792: r2792 | sdake | 2010-04-29 22:12:26 -0700 (Thu, 29 Apr 2010) | 3 lines
	Save the ring id and restore it properly when the recovery operation fails as
	a result of a new gather or token loss.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2862 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2791: r2791 | chrissie | 2010-04-29 08:39:06 -0700 (Thu, 29 Apr 2010) | 2 lines
	Fix name of fail_recv_const in corosync.conf man page



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2861 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2790: r2790 | honzaf | 2010-04-28 09:00:55 -0700 (Wed, 28 Apr 2010) | 2 lines
	Fix parallel build of libs in lib directory



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2860 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2787: r2787 | honzaf | 2010-04-23 01:03:05 -0700 (Fri, 23 Apr 2010) | 11 lines
	Handle some valgrind errors

	- Memset for res_setup variable in coroipcs:req_setup_send
	- Two memset in logsys for buffers
	- Problem in corosync_totem_stats_updater where avg_token_holdtime has
	size of avg_backlog_calc
	- corosync_totem_stats_init where avg_backlog_calc is 32 bits (not 64)
	- objdb problem if new_valie_len != object->value_len. In such case
	newly allocated memory is not initialized and in some situations,
	value_len is not updated.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2859 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add upstream revision 2748: r2748 | jflesch | 2010-03-30 00:24:59 -0700 (Tue, 30 Mar 2010) | 1 line
	Coroipcc: Make sure that coroipcc_service_connect() always return a valid cs_error_t



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2858 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-05-13  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2818: r2818 | sdake | 2010-05-12 21:42:06 -0700 (Wed, 12 May 2010) | 2 lines
	Bump version to 1.2.2.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2819 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2816: r2816 | sdake | 2010-05-12 21:36:42 -0700 (Wed, 12 May 2010) | 2 lines
	logsys rework to deal with memory corruption around debug:on configurations.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2817 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-05-12  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2800: r2800 | asalkeld | 2010-05-03 21:25:31 -0700 (Mon, 03 May 2010) | 2 lines
	check and discard unknown messages



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2810 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-05-11  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2789: r2789 | honzaf | 2010-04-26 09:16:20 -0700 (Mon, 26 Apr 2010) | 7 lines
	Handle POLLNVAL in coroipcc

	Old code in coroipcc doesn't handle POLLNVAL. It can happen, that some
	applications (for example fenced) will stuck forever.

	Also poll result is now handled more correctly.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2809 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-05-04  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2684: r2684 | chrissie | 2010-03-16 02:53:18 -0700 (Tue, 16 Mar 2010) | 6 lines
	Fix a couple of small bugs that happen when the configuration is reloaded.

	1. the reload callback was not sent to the library,
	2. totem exponentially added new callbacks because the old ones were not
	   removed properly.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2803 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2683: r2683 | chrissie | 2010-03-16 02:51:30 -0700 (Tue, 16 Mar 2010) | 5 lines
	Add a reload callback to libconfdb.

	This also increments the libconfdb version to 4.1.0



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2802 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-04-26  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2768: r2768 | honzaf | 2010-04-20 03:08:15 -0700 (Tue, 20 Apr 2010) | 2 lines
	Fix confdb linking (add -ldl)



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2788 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-04-23  Angus Salkeld  <asalkeld@redhat.com>

	Revert mistaken merge in confdb.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2786 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-04-20  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2767: r2767 | chrissie | 2010-04-20 00:27:14 -0700 (Tue, 20 Apr 2010) | 2 lines
	Fix a crash in YKD



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2782 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2757: r2757 | asalkeld | 2010-04-12 12:51:38 -0700 (Mon, 12 Apr 2010) | 15 lines
	When sync is aborted clear the "my_ring_id" variable.

	This patch fixes crashes found by repeated pacemaker CTS SimluStart
	tests. When you bring up the nodes together it can cause a lot of
	configuration changes and sync gets started and aborted
	lots of times.

	When abort is called the ring_id is not changed which means that any
	sync packet that arrive from that point on will be accepted as valid.
	I have seen old barrier messages causing the processing index to increment
	later causing an array out of bounds.

	This patch memsets the ring_id to 0, thus causing the ring_id in the packet and
	my_ring_id not to match.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2781 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2756: r2756 | asalkeld | 2010-04-06 22:04:15 -0700 (Tue, 06 Apr 2010) | 2 lines
	add comment to the man page explaining the use of port and port -1.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2780 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2755: r2755 | sdake | 2010-04-02 12:16:23 -0700 (Fri, 02 Apr 2010) | 3 lines
	Allow modifying POLLIN/POLLOUT state in another thread while the main thread
	is blocked in poll system call.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2779 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2754: r2754 | sdake | 2010-04-01 17:10:43 -0700 (Thu, 01 Apr 2010) | 3 lines
	Remove problem where NULL dispatch handler functions would result in lockup
	of the dispatch if they were sent by a service engine.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2778 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2753: r2753 | honzaf | 2010-04-01 05:51:07 -0700 (Thu, 01 Apr 2010) | 5 lines
	Support for user configurable warning signal

	Allow developer configure a signal to be send as a warning signal
	before real SIGKILL.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2777 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2752: r2752 | honzaf | 2010-04-01 05:35:31 -0700 (Thu, 01 Apr 2010) | 5 lines
	Support for specific libraries version

	Patch adds support for changing version number of library simply by edit
	lib$(LIB).verso file.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2776 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2750: r2750 | sdake | 2010-03-30 01:23:10 -0700 (Tue, 30 Mar 2010) | 2 lines
	Fix barrier operation with syncv2 and compat:none or openais service engines.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2775 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2746: r2746 | asalkeld | 2010-03-30 00:19:25 -0700 (Tue, 30 Mar 2010) | 6 lines
	objdb: fix key change notifications

	1) don't send notifications if the key is the same.
	2) Add key value change notifications to key_inc & key_dec



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2774 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2740: r2740 | jflesch | 2010-03-26 06:54:42 -0700 (Fri, 26 Mar 2010) | 1 line
	Totemudp: Add debug logs when a call to sendmsg() fails



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2773 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2739: r2739 | asalkeld | 2010-03-24 17:58:14 -0700 (Wed, 24 Mar 2010) | 2 lines
	Make corosync exit with 0 normally and +1.. on error.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2772 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2731: r2731 | asalkeld | 2010-03-24 15:16:32 -0700 (Wed, 24 Mar 2010) | 2 lines
	Fix unloading of evs (service id == 0)



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2771 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-03-23  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2723: r2723 | sdake | 2010-03-23 14:49:46 -0700 (Tue, 23 Mar 2010) | 2 lines
	Bump version to 1.2.1.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2724 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2721: r2721 | sdake | 2010-03-23 10:16:39 -0700 (Tue, 23 Mar 2010) | 2 lines
	Tone down noisy logging from ipcs system.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2722 fd59a12c-fef9-0310-b244-a6a79926bd2f

2010-03-22  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2719: r2719 | sdake | 2010-03-22 15:07:01 -0700 (Mon, 22 Mar 2010) | 3 lines
	Fix lockup that occurs rarely with pthread_join() is called in atexit()
	handler.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2720 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2685: ------------------------------------------------------------------------ r2685 | sdake | 2010-03-20 13:08:38 -0700 (Sat, 20 Mar 2010) | 3 lines
	Fix problem where retransmissions don't occur resulting in failure to receive
	condition.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2718 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2682: r2682 | asalkeld | 2010-03-10 17:27:04 -0700 (Wed, 10 Mar 2010) | 2 lines
	Remove warnings.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2717 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2676: r2676 | honzaf | 2010-03-04 05:17:47 -0700 (Thu, 04 Mar 2010) | 7 lines
	Support for lib_cpg_finalize

	Add support for MESSAGE_REQ_CPG_FINALIZE message. This will allow us
	remove cpg_pd from list of active connections, and remove problem, when
	cpg_finalize + cpg_initialize + cpg_join can result in CPG_ERR_EXIST
	error.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2716 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2675: r2675 | honzaf | 2010-03-04 05:12:24 -0700 (Thu, 04 Mar 2010) | 14 lines
	Cpg join with undelivered leave message

	Patch handles situation, when on one node, one process:
	- join cpg
	- do same actions
	- leave cpg
	- join cpg again

	Following sequence can (racy) end with broken process_info list.

	To solve this problem, one more check is done in
	message_handler_req_lib_cpg_join so if process_info with same pid and
	group as new join request exists, CPG_ERR_TRY_AGAIN is returned.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2715 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2674: r2674 | asalkeld | 2010-03-03 14:52:08 -0700 (Wed, 03 Mar 2010) | 2 lines
	Fix some "make lint" problems



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2714 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2673: r2673 | sdake | 2010-03-03 12:43:50 -0700 (Wed, 03 Mar 2010) | 2 lines
	Specify the ringnumber parameter must start at 0 in the corosync.conf man page.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2713 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2672: r2672 | sdake | 2010-03-03 12:19:12 -0700 (Wed, 03 Mar 2010) | 2 lines
	Fix error handling to avoid segfaults/leaks on error in coroipcc_service_connect.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2712 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2667: r2667 | chrissie | 2010-02-26 08:30:38 -0700 (Fri, 26 Feb 2010) | 5 lines
	Reduce the number of times the quorum message is displayed.

	Patch from David Teigland



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2711 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2666: r2666 | asalkeld | 2010-02-25 12:29:49 -0700 (Thu, 25 Feb 2010) | 2 lines
	convert giduid calls to reentrant versions.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2710 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2665 | asalkeld | 2010-02-25 12:28:36 -0700 (Thu, 25 Feb 2010) | 2 lines
	convert strerror() into strerror_r()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2709 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2664: r2664 | asalkeld | 2010-02-25 12:26:54 -0700 (Thu, 25 Feb 2010) | 2 lines
	convert readdir into readdir_r



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2708 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2663: r2663 | asalkeld | 2010-02-25 12:25:20 -0700 (Thu, 25 Feb 2010) | 2 lines
	convert strtok to strtok_r



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2707 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2661: r2661 | asalkeld | 2010-02-18 13:10:36 -0700 (Thu, 18 Feb 2010) | 2 lines
	Correct testcpg's groupname.length



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2706 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2660: r2660 | sdake | 2010-02-18 13:08:39 -0700 (Thu, 18 Feb 2010) | 3 lines
	Patch to set unset value in token hold cancel structure as to not crash
	wireshark.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2705 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2657: r2657 | honzaf | 2010-02-16 04:29:14 -0700 (Tue, 16 Feb 2010) | 7 lines
	Fix corosync shutdown process

	This patch change corosync shutdown process, so now:
	- exit function of service engine is called
	- all IPC connections are closed and removed from poll
	- service engine is unlocked



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2704 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2656: r2656 | sdake | 2010-02-15 14:39:33 -0700 (Mon, 15 Feb 2010) | 3 lines
	Use nodeid instead of localhost ip for the case when binding to a
	loalhost interface.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2703 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2655: r2655 | chrissie | 2010-02-12 00:46:02 -0700 (Fri, 12 Feb 2010) | 6 lines
	Remove a double list_del() when a tracking CFG client shuts down without
	calling cfg_track_stop. This caused corosync to crash.

	The extra list_empty() check is redundant too because it also happens in remove_ci_from_shutdown()



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2702 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2654: r2654 | sdake | 2010-02-04 14:36:21 -0700 (Thu, 04 Feb 2010) | 2 lines
	Merge of Dejan's on=yes patch for the config parser options to ease migration.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2701 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2653 | asalkeld | 2010-02-03 17:18:51 -0700 (Wed, 03 Feb 2010) | 2 lines
	pass transitional members into the sync_init() callbacks.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2700 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2652: r2652 | asalkeld | 2010-02-03 17:13:27 -0700 (Wed, 03 Feb 2010) | 2 lines
	move sync_v2_init() into main_service_ready




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2699 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2651: r2651 | asalkeld | 2010-02-01 23:24:01 -0700 (Mon, 01 Feb 2010) | 3 lines
	totemsrp: fix transitional configuration changes with long token timeouts



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2698 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2650: r2650 | sdake | 2010-01-30 16:02:40 -0700 (Sat, 30 Jan 2010) | 3 lines
	Fix coroipcs message corruption that occurs when a message fills the remainder
	of the dispatch buffer with a full message.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2697 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2649:
	r2649 | honzaf | 2010-01-22 02:45:29 -0700 (Fri, 22 Jan 2010) | 5 lines

	Add schedwrk_create_nolock function

	This patch adds schedwrk_create_nolock, which will not call
	serialize_lock before execution of callback.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2696 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2648 | honzaf | 2010-01-21 05:48:30 -0700 (Thu, 21 Jan 2010) | 2 lines
	Pass correct poll handle to poll_stop on exit



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2695 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2647: r2647 | honzaf | 2010-01-21 05:46:09 -0700 (Thu, 21 Jan 2010) | 5 lines
	poll_dispatch_delete - ability to return 0

	Patch fixes poll_dispatch_delete, so it is able to return 0
	(success), when requested FD was found.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2694 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2646: r2646 | honzaf | 2010-01-20 06:22:38 -0700 (Wed, 20 Jan 2010) | 5 lines
	Fix setting invalid mode in log destination

	This fixes problem in revision 2642, when only last

	line of log destination setting is really applied.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2693 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2644 | honzaf | 2010-01-14 05:54:46 -0700 (Thu, 14 Jan 2010) | 8 lines
	Fix malloc deadlock in signal handler

	This patch solves situations, where malloc is called
	inside signal handler. It creates thread, which waits
	for semaphore unlock and then starts shutdown sequence.

	RHBZ#547511



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2692 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2643 | honzaf | 2010-01-14 01:39:06 -0700 (Thu, 14 Jan 2010) | 8 lines
	Fix freeze of IPC library connection on sem_wait

	This patch solves library waiting on sem_wait. It doesn't
	solve all other problems, which can make corosync not
	to exit (malloc race, global lock deadlock, ...)

	RHBZ#547511



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2691 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revisoin 2642: r2642 | honzaf | 2010-01-13 02:52:07 -0700 (Wed, 13 Jan 2010) | 6 lines
	Fix coroparse to allow white chars before comment

	- allows white characters before #
	- new function to parse log destinations (remove code duplicity)
	- clarify man page



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2690 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2641: r2641 | honzaf | 2010-01-11 03:12:17 -0700 (Mon, 11 Jan 2010) | 5 lines
	Generate nodeid value when unset on BSD

	Generated nodeid is generated in same way as
	on Linux is.




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2689 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2640: r2640 | sdake | 2009-12-15 12:22:36 -0700 (Tue, 15 Dec 2009) | 2 lines
	Remove invalid assertion in totemsrp.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2688 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2639: r2639 | beekhof | 2009-12-15 04:52:48 -0700 (Tue, 15 Dec 2009) | 7 lines
	Correctly determine current state in init script

	If two stop actions are ever performed simultaneously, then neither will terminate.
	With the default implementaiton of __pids_pidof, the status() function from
	/etc/init.d/functions incorrectly thinks the other stop action is a real
	corosync process.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2687 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2638: r2638 | asalkeld | 2009-12-08 00:48:53 -0700 (Tue, 08 Dec 2009) | 2 lines
	Allow empty (default) consensus timeout.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2686 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-12-08  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2581: r2581 | sdake | 2009-12-07 17:02:00 -0700 (Mon, 07 Dec 2009) | 2 lines
	Bump verion to 1.2.0.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2637 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge conflicts.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2636 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2580: r2580 | sdake | 2009-12-07 17:01:39 -0700 (Mon, 07 Dec 2009) | 2 lines
	Remove string overwrite if many recovery messages are originated.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2635 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2579: r2579 | sdake | 2009-12-07 16:23:42 -0700 (Mon, 07 Dec 2009) | 2 lines
	Remove compiler warning in vsf_quorum.c.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2634 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2578: r2578 | sdake | 2009-12-07 16:21:01 -0700 (Mon, 07 Dec 2009) | 2 lines
	Remove compiler warning in totemsrp.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2633 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2577: r2577 | sdake | 2009-12-07 16:18:44 -0700 (Mon, 07 Dec 2009) | 2 lines
	Update to AUTHORS file.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2632 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2576: r2576 | fabbione | 2009-12-07 16:13:34 -0700 (Mon, 07 Dec 2009) | 2 lines
	Update spec file to deal with new libsam



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2631 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2575: r2575 | fabbione | 2009-12-07 16:13:14 -0700 (Mon, 07 Dec 2009) | 2 lines
	Generate .pc file for new libsam



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2630 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2574: r2574 | sdake | 2009-12-07 15:40:49 -0700 (Mon, 07 Dec 2009) | 2 lines
	SAM man pages.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2629 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2573: r2573 | sdake | 2009-12-07 11:41:49 -0700 (Mon, 07 Dec 2009) | 3 lines
	Set boolean indicating the retrans flag was set to 1 to 0 when setting retrans
	flag in token to zero.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2628 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2572: r2572 | sdake | 2009-12-07 11:22:48 -0700 (Mon, 07 Dec 2009) | 3 lines
	Make assertions for range checking of message delivery check with the define
	instead of magic numbers that are not valid if the define changes.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2627 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2571: r2571 | honzaf | 2009-12-07 10:14:44 -0700 (Mon, 07 Dec 2009) | 2 lines
	Remove potentially thread unsafe call of strftime



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2626 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2570: r2570 | honzaf | 2009-12-07 10:06:53 -0700 (Mon, 07 Dec 2009) | 8 lines
	SAM implementation merge

	The SAM library provide a tool to check the health
	of an application. The main purpose of SAM is to restart
	a local process when it fails to respond to a healthcheck
	request in a configured time interval.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2625 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2569: r2569 | sdake | 2009-12-06 22:03:25 -0700 (Sun, 06 Dec 2009) | 2 lines
	Prevent lockup in recovery state in totem after 206 messages are originated.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2624 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2568 | sdake | 2009-12-06 22:02:28 -0700 (Sun, 06 Dec 2009) | 3 lines
	Fix recovery messages to be proper length to remove segfault that occurs during
	recovery.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2623 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2567: r2567 | sdake | 2009-12-05 18:35:05 -0700 (Sat, 05 Dec 2009) | 5 lines
	Force consensus timer to be at minimum 1.2 * token to prevent one group of
	nodes from executing a token timeout in the COMMIT state while another node
	executes a consensus timeout, showing to applications as a temporary network
	partition.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2622 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2566: r2566 | chrissie | 2009-12-04 09:11:49 -0700 (Fri, 04 Dec 2009) | 2 lines
	Make man page match reality of totem configuration values.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2621 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2565: r2565 | chrissie | 2009-12-04 09:10:59 -0700 (Fri, 04 Dec 2009) | 8 lines
	This puts multiple nodeids on each [QUORUM] Members line instead of
	putting each nodeid on a separate line.  With more than a few nodes the
	excessive lines become a real nuisance, and anyone up around 32 nodes
	may literally be scrolling through hundreds of those lines.

	from David teigland



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2620 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2564: r2564 | asalkeld | 2009-12-03 11:18:29 -0700 (Thu, 03 Dec 2009) | 2 lines
	stats: don't calloc the totemsrp stats struct.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2619 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2563 | asalkeld | 2009-12-03 11:13:52 -0700 (Thu, 03 Dec 2009) | 2 lines
	Correct some ugly indentation.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2618 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2562: r2562 | asalkeld | 2009-12-03 01:36:31 -0700 (Thu, 03 Dec 2009) | 2 lines
	objdb: fix memory leaks when objects are destroyed.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2617 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2561: r2561 | asalkeld | 2009-12-02 15:14:00 -0700 (Wed, 02 Dec 2009) | 2 lines
	make sure key_names past from confdb are null terminated.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2616 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2560 | honzaf | 2009-12-02 08:09:18 -0700 (Wed, 02 Dec 2009) | 8 lines
	bsd: Fix mlockall on FreeBSD version >= 8.0

	FreeBSD version 8.0 and greater supports mlockall
	syscall correctly. So configure.ac is changed to detect
	FreeBSD version and main.c is changed to support it.

	Resolves: rhbz#513687



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2615 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2559 | fabbione | 2009-12-01 23:30:27 -0700 (Tue, 01 Dec 2009) | 2 lines
	spec file cleanup



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2614 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2558: r2558 | fabbione | 2009-11-30 16:01:51 -0700 (Mon, 30 Nov 2009) | 3 lines
	Fix threads vs fork init order



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2613 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2557: r2557 | fabbione | 2009-11-30 14:28:30 -0700 (Mon, 30 Nov 2009) | 3 lines
	Fix stop regression



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2612 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2556 | fabbione | 2009-11-30 13:18:48 -0700 (Mon, 30 Nov 2009) | 3 lines
	Expose service.d config directory



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2611 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2555 | sdake | 2009-11-30 12:11:20 -0700 (Mon, 30 Nov 2009) | 3 lines
	Start pause timer at initialization so first gather doesn't result in pause
	timeout operations.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2610 fd59a12c-fef9-0310-b244-a6a79926bd2f

	merge trunk revision 2554: r2554 | fabbione | 2009-11-30 11:56:28 -0700 (Mon, 30 Nov 2009) | 3 lines
	Clean up init scripts and make a single generic one



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2609 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2553: r2553 | asalkeld | 2009-11-29 11:42:00 -0700 (Sun, 29 Nov 2009) | 3 lines
	Rename totem_new_msg_signal() to something more generic.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2608 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2552: r2552 | asalkeld | 2009-11-29 11:28:39 -0700 (Sun, 29 Nov 2009) | 3 lines
	coroipcs: Add a queue_size stats counter to each ipc connection.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2607 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2551: r2551 | asalkeld | 2009-11-29 11:25:51 -0700 (Sun, 29 Nov 2009) | 3 lines
	coroipcs: add logging for flow control state changes.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2606 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2550 | sdake | 2009-11-27 15:59:48 -0700 (Fri, 27 Nov 2009) | 3 lines
	Patch to use proper IFA on Linux platforms to match interface addresses when
	netmask is not 255.255.255.0.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2605 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2549: r2549 | asalkeld | 2009-11-22 17:32:31 -0700 (Sun, 22 Nov 2009) | 2 lines
	COVERITY 4: remove dead code in XYZ_dispatch().



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2604 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2548: r2548 | asalkeld | 2009-11-22 16:59:51 -0700 (Sun, 22 Nov 2009) | 2 lines
	COVERITY 17: fix exit handling in show_votes().



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2603 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2547: r2547 | asalkeld | 2009-11-22 16:19:41 -0700 (Sun, 22 Nov 2009) | 1 line
	COVERITY 12: prevent overrun of logsys output buffers.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2602 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2546: r2546 | asalkeld | 2009-11-21 23:34:11 -0700 (Sat, 21 Nov 2009) | 2 lines
	COVERITY 13: prevent buffer overrun in quorum-tool.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2601 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2545: r2545 | asalkeld | 2009-11-21 23:29:46 -0700 (Sat, 21 Nov 2009) | 3 lines
	COVERITY 11: remove dead code from cpg_iteration_next().



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2600 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2544: r2544 | asalkeld | 2009-11-21 23:27:09 -0700 (Sat, 21 Nov 2009) | 3 lines
	COVERITY 14: free zcb_mapped if memory_map() fails.




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2599 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2530: r2530 | asalkeld | 2009-10-18 11:15:24 -0700 (Sun, 18 Oct 2009) | 3 lines
	Add a log_printf function to coroipcs so we can pass the log level



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2598 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2529 | asalkeld | 2009-10-14 16:05:18 -0700 (Wed, 14 Oct 2009) | 3 lines
	Avoid array out of bound error.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2597 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2522: r2522 | asalkeld | 2009-10-13 21:06:42 -0700 (Tue, 13 Oct 2009) | 5 lines
	stats: prevent a div by zero if totem_count is zero.

	patch by Chrissie



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2596 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2521: r2521 | asalkeld | 2009-10-13 01:13:53 -0700 (Tue, 13 Oct 2009) | 2 lines
	Fix the OSX build (broken by stats patches)



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2595 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2519: r2519 | asalkeld | 2009-10-12 14:56:23 -0700 (Mon, 12 Oct 2009) | 2 lines
	Add some missing calls to increment the relevant stats.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2594 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2518: r2518 | asalkeld | 2009-10-12 14:50:10 -0700 (Mon, 12 Oct 2009) | 2 lines
	allow coroipcs to work without calling stats initialization.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2593 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2517: r2517 | asalkeld | 2009-10-12 10:30:20 -0700 (Mon, 12 Oct 2009) | 3 lines
	Add totem stats to objdb.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2592 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2516: r2516 | asalkeld | 2009-10-12 10:29:19 -0700 (Mon, 12 Oct 2009) | 3 lines
	Remove silly warning in corosync-objdb



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2591 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixup merge problem in trunk revision 2515.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2590 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2515 (their's conflict): r2515 | asalkeld | 2009-10-11 17:39:39 -0700 (Sun, 11 Oct 2009) | 2 lines
	Add per service-function statistics.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2589 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2514: r2514 | asalkeld | 2009-10-11 17:36:55 -0700 (Sun, 11 Oct 2009) | 2 lines
	Add connection related statistics to the object db.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2588 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2513: r2513 | asalkeld | 2009-10-11 16:46:07 -0700 (Sun, 11 Oct 2009) | 2 lines
	Test the key value size for typed keys.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2587 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2512: r2512 | asalkeld | 2009-10-11 15:53:13 -0700 (Sun, 11 Oct 2009) | 4 lines
	teach object_key_increment() key types.

	This is so we can increment all integer types correctly.




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2586 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2511: r2511 | asalkeld | 2009-10-09 20:20:38 -0700 (Fri, 09 Oct 2009) | 6 lines
	Add value types to objdb keys.

	This allows you to create a key with a know type.
	And then get the type with the key value.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2585 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2543: r2543 | asalkeld | 2009-11-21 23:22:49 -0700 (Sat, 21 Nov 2009) | 5 lines
	COVERITY 18: prevent deref after free.

	Event deref_after_free: Dereferencing freed pointer "pi".



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2584 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2542: r2542 | beekhof | 2009-11-05 06:01:25 -0700 (Thu, 05 Nov 2009) | 1 line
	Fix compilation on RHEL-4: If _GNU_SOURCE isn't defined, then neither is pthread_spinlock_t and compilation fails



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2583 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2541: r2541 | beekhof | 2009-10-28 12:09:59 -0700 (Wed, 28 Oct 2009) | 1 line
	Prevent daemon from suppressing corefile generation



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2582 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-10-23  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2537: r2537 | sdake | 2009-10-22 15:30:59 -0700 (Thu, 22 Oct 2009) | 2 lines
	Bump version to 1.1.2.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2539 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2536: r2536 | sdake | 2009-10-22 15:29:02 -0700 (Thu, 22 Oct 2009) | 2 lines
	Revert commit 2523 which results in segfaults under some workloads.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2538 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-10-21  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2533: ------------------------------------------------------------------------ r2533 | sdake | 2009-10-20 15:40:29 -0700 (Tue, 20 Oct 2009) | 2 lines
	Bump revision to 1.1.1.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2534 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2531 (their's conflict) : ------------------------------------------------------------------------ r2531 | sdake | 2009-10-20 14:07:50 -0700 (Tue, 20 Oct 2009) | 2 lines
	Resolve shutdown problems for pacemaker use case.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2532 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-10-15  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2524: r2524 | sdake | 2009-10-14 12:06:37 -0700 (Wed, 14 Oct 2009) | 3 lines
	Patch from jflesch to fix segfault when using sysv semaphores that the thread
	state is checked prior to the semaphore operation, not after it has completed.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2528 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2523: r2523 | sdake | 2009-10-14 11:56:54 -0700 (Wed, 14 Oct 2009) | 4 lines
	totem process group optimization to not copy data into staging buffer if
	it is to be immediately ordered by totemsrp.  Instead pass that data as an
	iovector element.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2527 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2520: r2520 | beekhof | 2009-10-12 23:16:14 -0700 (Mon, 12 Oct 2009) | 1 line
	Add SIGTERM support and have the init script wait for corosync to actually terminate. Bud rh#525552



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2526 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2510: r2510 | chrissie | 2009-10-06 05:57:35 -0700 (Tue, 06 Oct 2009) | 13 lines
	This patche fixes a couple of small problems with votequorum:

	- if a single node is booted with votequorum loaded then
	   corosync-quorumtool shows zero nodes and no votes.
	- votequorum doesn't always tell the main quorum module when a new node
	has joined the cluster (principally itself. this bug is actually tied
	into the above)

	I've also added quorum to the default list of services. As quorum has
	been decoupled from sync it will not interfere with normal operations as
	it used to do and it makes more sense to have it there than not.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2525 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-09-25  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2507: r2507 | fabbione | 2009-09-25 01:55:43 -0700 (Fri, 25 Sep 2009) | 2 lines
	Update spec file to enable IBA support and sync with 1.1.0 release



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2508 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge collision which caused make distcheck to fail.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2506 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2504: r2504 | sdake | 2009-09-25 00:00:32 -0700 (Fri, 25 Sep 2009) | 2 lines
	Change version to 1.1.0 in trunk.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2505 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2481: r2481 | sdake | 2009-09-24 23:23:04 -0700 (Thu, 24 Sep 2009) | 2 lines
	Totem IBA implementation.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2503 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2480: r2480 | sdake | 2009-09-24 23:06:31 -0700 (Thu, 24 Sep 2009) | 2 lines
	make main_service_ready function static.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2502 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2479: r2479 | sdake | 2009-09-24 23:03:50 -0700 (Thu, 24 Sep 2009) | 2 lines
	Remove unused variable in stress_cpgfdget.c.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2501 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2478: r2478 | sdake | 2009-09-24 23:01:35 -0700 (Thu, 24 Sep 2009) | 2 lines
	Remove pointless warning.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2500 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2477: r2477 | asalkeld | 2009-09-24 19:27:50 -0700 (Thu, 24 Sep 2009) | 3 lines
	turn off _POSIX_THREAD_PROCESS_SHARED for uclibc



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2499 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2411: r2411 | asalkeld | 2009-09-09 18:51:32 -0700 (Wed, 09 Sep 2009) | 2 lines
	log the built-in features at startup



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2498 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2410: r2410 | asalkeld | 2009-09-09 11:58:38 -0700 (Wed, 09 Sep 2009) | 17 lines
	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/branches/flatiron@2497 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2407: r2407 | chrissie | 2009-09-08 01:19:11 -0700 (Tue, 08 Sep 2009) | 2 lines
	Really add corosync-quorumtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2496 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2406: r2406 | chrissie | 2009-09-08 01:14:58 -0700 (Tue, 08 Sep 2009) | 2 lines
	Add corosync-quorumtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2495 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2401: r2401 | honzaf | 2009-08-31 08:58:12 -0700 (Mon, 31 Aug 2009) | 2 lines
	Real add of corosync-cpgtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2494 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2400: r2400 | honzaf | 2009-08-31 02:57:20 -0700 (Mon, 31 Aug 2009) | 2 lines
	Initial version of corosync-cpgtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2493 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2399: 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/branches/flatiron@2492 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2389: r2389 | sdake | 2009-08-17 11:22:51 -0700 (Mon, 17 Aug 2009) | 2 lines
	Add test program that finds limits of cpg message size.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2491 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2372: r2372 | sdake | 2009-07-26 19:00:05 -0700 (Sun, 26 Jul 2009) | 6 lines
	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/branches/flatiron@2490 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2371: r2371 | sdake | 2009-07-26 17:29:32 -0700 (Sun, 26 Jul 2009) | 3 lines
	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/branches/flatiron@2489 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2369: r2369 | sdake | 2009-07-22 15:10:35 -0700 (Wed, 22 Jul 2009) | 3 lines
	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/branches/flatiron@2488 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2368: r2368 | honzaf | 2009-07-22 01:25:45 -0700 (Wed, 22 Jul 2009) | 5 lines
	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/branches/flatiron@2487 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2367 (mine-conflict): r2367 | sdake | 2009-07-21 11:17:15 -0700 (Tue, 21 Jul 2009) | 4 lines
	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/branches/flatiron@2486 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2363: r2363 | honzaf | 2009-07-16 05:16:06 -0700 (Thu, 16 Jul 2009) | 5 lines
	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/branches/flatiron@2485 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2359: r2359 | sdake | 2009-07-10 05:54:56 -0700 (Fri, 10 Jul 2009) | 2 lines
	add stress_cpgcontext.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2484 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2358: r2358 | sdake | 2009-07-10 05:29:50 -0700 (Fri, 10 Jul 2009) | 2 lines
	Add stress_cpgfdget test case.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2483 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2357: r2357 | sdake | 2009-07-10 05:05:48 -0700 (Fri, 10 Jul 2009) | 3 lines
	Add stress test case for cpg and coroipcc zero copy buffer alloc and free
	operations.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2482 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-09-22  Steven Dake  <sdake@redhat.com>

	Bumping version to 1.0.1
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2475 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2473: r2473 | sdake | 2009-09-22 00:46:24 -0700 (Tue, 22 Sep 2009) | 2 lines
	Correct pload printing operation.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2474 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-09-21  Steven Dake  <sdake@redhat.com>

	Fix commit error from previous merge.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2471 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2468: r2468 | sdake | 2009-09-21 12:03:16 -0700 (Mon, 21 Sep 2009) | 2 lines
	Patch from Jerome to fix segfault in dispatch functions.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2470 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2467: r2467 | sdake | 2009-09-21 11:27:37 -0700 (Mon, 21 Sep 2009) | 2 lines
	Fix abort with multiple cpg clients under heavy load.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2469 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2406 of the file lib/coroipcc.c: r2406 | chrissie | 2009-09-08 01:14:58 -0700 (Tue, 08 Sep 2009) | 2 lines
	Add corosync-quorumtool



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2466 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-09-20  Steven Dake  <sdake@redhat.com>

	Merge trunk revision 2463: r2463 | sdake | 2009-09-19 23:56:02 -0700 (Sat, 19 Sep 2009) | 2 lines
	Remove warning in logsys compile related to const correctness.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2465 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2462: r2462 | sdake | 2009-09-19 23:53:10 -0700 (Sat, 19 Sep 2009) | 2 lines
	Remove warning in coroipcc.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2464 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2419: r2419 | sdake | 2009-09-19 22:36:52 -0700 (Sat, 19 Sep 2009) | 2 lines
	Fix sigpipe handling to ignore sigpipes on systems which support them.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2461 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2418: r2418 | sdake | 2009-09-19 22:34:41 -0700 (Sat, 19 Sep 2009) | 2 lines
	Make delete operation work properly in coropoll.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2460 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision: r2416 | sdake | 2009-09-14 13:27:45 -0700 (Mon, 14 Sep 2009) | 2 lines
	Fix error with revision 2415.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2459 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2416: r2416 | sdake | 2009-09-14 13:27:45 -0700 (Mon, 14 Sep 2009) | 2 lines
	Fix error with revision 2415.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2458 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2415: r2415 | sdake | 2009-09-14 11:58:08 -0700 (Mon, 14 Sep 2009) | 3 lines
	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/branches/flatiron@2457 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2409: r2409 | asalkeld | 2009-09-09 11:55:17 -0700 (Wed, 09 Sep 2009) | 11 lines
	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/branches/flatiron@2456 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2408: r2408 | asalkeld | 2009-09-08 17:25:36 -0700 (Tue, 08 Sep 2009) | 2 lines
	Only insert the filename into the log, not the path.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2455 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2405: r2405 | fabbione | 2009-09-07 03:41:42 -0700 (Mon, 07 Sep 2009) | 2 lines
	Fix missing symbol error when loading plugins without executive



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2454 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2404: r2404 | asalkeld | 2009-09-07 01:33:23 -0700 (Mon, 07 Sep 2009) | 16 lines
	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/branches/flatiron@2453 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2403: r2403 | chrissie | 2009-09-07 00:28:25 -0700 (Mon, 07 Sep 2009) | 2 lines
	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/branches/flatiron@2452 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix theirs conflict merge conflict revision 2402
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2451 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2402 (theirs conflict): r2402 | fabbione | 2009-09-07 00:24:15 -0700 (Mon, 07 Sep 2009) | 2 lines
	Fix corosync-tools linking



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2450 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2398: r2398 | sdake | 2009-08-28 11:20:14 -0700 (Fri, 28 Aug 2009) | 2 lines
	Fix off by one calculation error resulting in assertion.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2449 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2397: r2397 | chrissie | 2009-08-28 02:36:33 -0700 (Fri, 28 Aug 2009) | 2 lines
	Send CURRENT callbacks to the dispatch FD rather than the callback one.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2448 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2396: r2396 | chrissie | 2009-08-28 02:35:18 -0700 (Fri, 28 Aug 2009) | 5 lines
	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/branches/flatiron@2447 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2395: r2395 | sdake | 2009-08-27 18:19:30 -0700 (Thu, 27 Aug 2009) | 2 lines
	Fix incorrect assertion with frame sizes of 9000.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2446 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2394: r2394 | sdake | 2009-08-24 10:50:12 -0700 (Mon, 24 Aug 2009) | 2 lines
	Allow finalize routines to occur inside dispatch routines.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2445 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2392: 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/branches/flatiron@2444 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2391: r2391 | honzaf | 2009-08-19 02:57:28 -0700 (Wed, 19 Aug 2009) | 7 lines
	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/branches/flatiron@2443 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2390 | honzaf | 2009-08-19 02:55:49 -0700 (Wed, 19 Aug 2009) | 2 lines
	Fix systems without _POSIX_THREAD_PROCESS_SHARED



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2442 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2388: r2388 | sdake | 2009-08-17 11:22:11 -0700 (Mon, 17 Aug 2009) | 2 lines
	Proper limits checking for message sizes to allow ~1mb max message sizes for corosync.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2441 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2387: r2387 | sdake | 2009-08-17 10:18:26 -0700 (Mon, 17 Aug 2009) | 3 lines
	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/branches/flatiron@2440 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2386: r2386 | jflesch | 2009-08-17 00:36:17 -0700 (Mon, 17 Aug 2009) | 1 line
	Fix value returned by lib/coroipcc_dispatch_get() in case recv() fails



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2439 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2385: r2385 | fabbione | 2009-08-11 23:57:53 -0700 (Tue, 11 Aug 2009) | 5 lines
	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/branches/flatiron@2438 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2384: r2384 | honzaf | 2009-08-10 08:07:40 -0700 (Mon, 10 Aug 2009) | 5 lines
	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/branches/flatiron@2437 fd59a12c-fef9-0310-b244-a6a79926bd2f

	r2383 | fabbione | 2009-08-09 22:39:45 -0700 (Sun, 09 Aug 2009) | 10 lines
	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/branches/flatiron@2436 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2382: r2382 | fabbione | 2009-08-09 22:32:58 -0700 (Sun, 09 Aug 2009) | 21 lines
	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/branches/flatiron@2435 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge conflict in trunk revision 2381 (mine conflict).
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2434 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2381 (mine conflict): r2381 | honzaf | 2009-08-04 00:39:03 -0700 (Tue, 04 Aug 2009) | 6 lines
	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/branches/flatiron@2433 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2380: r2380 | chrissie | 2009-08-04 00:14:55 -0700 (Tue, 04 Aug 2009) | 6 lines
	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/branches/flatiron@2432 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2379: r2379 | sdake | 2009-08-03 17:22:41 -0700 (Mon, 03 Aug 2009) | 2 lines
	Use unnamed shared posix semaphores on platforms which support them.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2431 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2378: r2378 | sdake | 2009-08-03 17:08:11 -0700 (Mon, 03 Aug 2009) | 2 lines
	Man page cleanups from Steven Whitehouse for cpg service.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2430 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2377: r2377 | sdake | 2009-08-03 17:04:13 -0700 (Mon, 03 Aug 2009) | 3 lines
	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/branches/flatiron@2429 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2376: r2376 | honzaf | 2009-08-03 01:11:53 -0700 (Mon, 03 Aug 2009) | 8 lines
	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/branches/flatiron@2428 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2374: r2374 | fabbione | 2009-07-28 10:11:29 -0700 (Tue, 28 Jul 2009) | 2 lines
	Fix spec file and update macro usage



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2427 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2373: r2373 | honzaf | 2009-07-27 03:12:55 -0700 (Mon, 27 Jul 2009) | 5 lines
	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/branches/flatiron@2426 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2370: r2370 | honzaf | 2009-07-23 07:50:56 -0700 (Thu, 23 Jul 2009) | 9 lines
	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/branches/flatiron@2425 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2366: r2366 | sdake | 2009-07-20 18:31:39 -0700 (Mon, 20 Jul 2009) | 3 lines
	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/branches/flatiron@2424 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2365: r2365 | honzaf | 2009-07-20 07:57:06 -0700 (Mon, 20 Jul 2009) | 15 lines
	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/branches/flatiron@2423 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2364: ------------------------------------------------------------------------ r2364 | honzaf | 2009-07-20 07:53:18 -0700 (Mon, 20 Jul 2009) | 14 lines
	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/branches/flatiron@2422 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2360: r2360 | sdake | 2009-07-13 09:46:13 -0700 (Mon, 13 Jul 2009) | 2 lines
	Add NAME entries to manpages.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2421 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge trunk revision 2356: r2356 | sdake | 2009-07-10 04:49:51 -0700 (Fri, 10 Jul 2009) | 2 lines
	Fix segfault when using zcb api of coroipcc under certain loads.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2420 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-07-14  Andrew Beekhof  <abeekhof@redhat.com>

	Use the preferred prefix for the Pacemaker service
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2361 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-07-08  Steven Dake  <sdake@redhat.com>

	Bumping version to 1.0.0
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2353 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merging trunk revision 2348: r2348 | sdake | 2009-07-07 22:23:33 -0700 (Tue, 07 Jul 2009) | 2 lines
	Add poll destroy to coroipcs.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2352 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merging trunk revision 2347: r2347 | sdake | 2009-07-07 22:14:47 -0700 (Tue, 07 Jul 2009) | 2 lines
	Add more tested platforms to list.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2351 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merging trunk revision 2346: r2346 | sdake | 2009-07-07 22:06:51 -0700 (Tue, 07 Jul 2009) | 2 lines
	Updated INSTALL file.

	-gThis line, and those below, will be ignored--

	M    flatiron/INSTALL


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2350 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merging trunk revision 2345: r2345 | jflesch | 2009-07-02 00:47:04 -0700 (Thu, 02 Jul 2009) | 1 line
	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/branches/flatiron@2349 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-07-01  Steven Dake  <sdake@redhat.com>

	Bumping version to 0.100
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2343 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Create flatiron branch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2342 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ring id field to evs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2341 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Pass handle is evs callback functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2339 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	Fix build on bsd systems.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2336 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Align syncv2 on 8 byte boundaries.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2335 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make compatibility mode none work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2334 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Code cleanup for evs service from Wojtek.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2333 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-07-01  Jan Friesse  <jfriesse@redhat.com>

	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

2009-07-01  Steven Dake  <sdake@redhat.com>

	Add context get set man pages for evs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2331 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add new man pages to Makfile.am
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2330 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	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

	Add votequorum_context_get/set man pages.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2325 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-30  Jim Meyering  <jim@meyering.net>

	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

	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

2009-06-30  Fabio M. Di Nitto  <fdinitto@redhat.com>

	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

2009-06-30  Steven Dake  <sdake@redhat.com>

	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

	Export poll handle via coroapi.h.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2318 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix segfault during dispatch within confdb library.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2317 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-28  Steven Dake  <sdake@redhat.com>

	Static-ize some main.c variables.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2316 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Simplify notifications from totem at the notice level.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2315 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	Remove totemsrp warning.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2312 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	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

2009-06-27  Angus Salkeld  <asalkeld@redhat.com>

	add "-p" option to corosync-objctl
	This just adds a "-p" option to corosync-objctl.

	So you can do the following (like sysctl).

	corosync-objctl -p /path/to/object.conf



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2308 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-27  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix rpm version generation and adapt release manager Makefile.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2307 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-27  Steven Dake  <sdake@redhat.com>

	Remove some debug printfs that snuck in.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2306 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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-26  Steven Dake  <sdake@redhat.com>

	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

	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

	Add syncv2.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2302 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add AMF_V2_SERVICE defintion
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2301 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix build error in evil.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2300 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix no boottime support warning.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2299 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	definition error in corodefs.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2297 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-25  Steven Dake  <sdake@redhat.com>

	Define CMAN and CRM service ids.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2295 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Convert got joinlist message notice to debug level.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2294 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-25  Fabio M. Di Nitto  <fdinitto@redhat.com>

	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

	Fix make dist target
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2292 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-25  Jan Friesse  <jfriesse@redhat.com>

	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

	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

2009-06-24  Steven Dake  <sdake@redhat.com>

	Remove totempg debug message.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2289 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-24  Ryan O'Hara  <rohara@redhat.com>

	Add hdb_handle_refcount_get call.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2287 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-23  Steven Dake  <sdake@redhat.com>

	Tidy's up startup printfs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2286 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Remove "AIS" string from exit notice.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2284 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-22  Steven Dake  <sdake@redhat.com>

	Remove warning by casting properly in totemnet.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2283 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename request_shutdown to shutdown_request in coroapi.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2282 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

2009-06-21  Jim Meyering  <jim@meyering.net>

	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

2009-06-21  Steven Dake  <sdake@redhat.com>

	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

	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

	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

	Remove hdb constructor usage.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2275 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-20  Steven Dake  <sdake@redhat.com>

	Remove timersub redefine.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2274 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Remove use without init warning which is harmless.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2272 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove shadow warnings.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2271 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-19  Steven Dake  <sdake@redhat.com>

	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

	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

	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

2009-06-19  Jim Meyering  <jim@meyering.net>

	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

2009-06-19  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix handling of sysconfdir
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2265 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Install basic operational directories
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2264 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove tags from example configuration
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2263 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-19  Steven Dake  <sdake@redhat.com>

	Warn user of missing dirs and exit gracefully.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2262 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Sanitize output of autogen.sh.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2260 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-18  Steven Dake  <sdake@redhat.com>

	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

2009-06-18  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix rec_ident encoding for IPC
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2258 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	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

2009-06-18  Steven Dake  <sdake@redhat.com>

	Add Jerome to AUTHORS file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2254 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add madvise nosync calls for bsd platform.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2253 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-18  Fabio M. Di Nitto  <fdinitto@redhat.com>

	logsys: remove leftover files from running tests
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2252 fd59a12c-fef9-0310-b244-a6a79926bd2f

	flight recorder: don't hardcode max arguments everywhere
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2251 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys: port to new packed rec_ident version
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2250 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	logsys: update man page to reflect new changes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2247 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys: merge tags into rec_ident
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2246 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-17  Jim Meyering  <jim@meyering.net>

	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

	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

2009-06-16  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add missing prototype and fix white spaces
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2242 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-15  Steven Dake  <sdake@redhat.com>

	Fix build error from recent solaris porting.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2241 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-14  Steven Dake  <sdake@redhat.com>

	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

	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

	Port of coroipc system to Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2238 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Add iface checking for Solaris platform.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2236 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-12  Jan Friesse  <jfriesse@redhat.com>

	Make /etc/corosync/corosync.conf default configuration file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2235 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-11  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix library linking fallout.. again
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2233 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-10  Steven Dake  <sdake@redhat.com>

	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

2009-06-10  Fabio M. Di Nitto  <fdinitto@redhat.com>

	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

2009-06-10  Steven Dake  <sdake@redhat.com>

	Remove unused variable on platforms other then Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2230 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix compile on BSD platforms.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2229 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix semun definitions for various platforms.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2228 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-10  Christine Caulfield  <ccaulfie@redhat.com>

	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

2009-06-09  Steven Dake  <sdake@redhat.com>

	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

	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

2009-06-09  Andrew Beekhof  <abeekhof@redhat.com>

	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

2009-06-07  Steven Dake  <sdake@redhat.com>

	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

	Add support for buildling on Solaris platforms.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2222 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	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

	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

	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

	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

	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

	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

	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

	Make coroipcs compile on Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2212 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Port of totemip to Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2210 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Port of logsys to Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2209 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcc port to Solaris.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2208 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-04  Christine Caulfield  <ccaulfie@redhat.com>

	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

2009-06-03  Andrew Beekhof  <abeekhof@redhat.com>

	Fix compilation on OSX/Darwin
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2206 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

2009-06-02  Jim Meyering  <jim@meyering.net>

	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

2009-06-01  Jan Friesse  <jfriesse@redhat.com>

	Fix coroipcc linking
	Fixes rhbz#499918
		
	Functions from ckpt library (like aCkptCheckpointOpen,
	saCkptSectionIterationInitialize, ...) internally uses corosync functions
	reply_receive, reply_receive_in_buf, ... This functions are included in
	coroipcc.c source file and uses global static variable ipc_hdb.

	Without patch, coroipcc is linked to shared library (libcoroipcc.so) AND linked
	with every corosync libraries (like cpg, ....), so global variable ipc_hdb is
	included not only in libcoroipcc.so, but also in libcpg.so, ...

	dlm_controld has function retrieve_plocks, and whole binary is linked with
	libcoroipcc and libcpg. So ipc_hdb is included TWICE (so has TWO addresses).

	Main problem causing the bug was, that reply_receive uses address from one
	library, and reply_receive_in_buf uses other. This confuses check of hdb_get
	function.

	After removing linking of coroipcc.o to cpg, and rather use of dynamic version,
	 (this means, there is only one instance of ipc_hdb) problem disappeared.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2203 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-06-01  Christine Caulfield  <ccaulfie@redhat.com>

	Add broadcast option to corosync
	This is a forward port of the openais, whitetank, code.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2202 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-31  Steven Dake  <sdake@redhat.com>

	Fix race condition in cpg service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2201 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-30  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Public headers should not include private config.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2200 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-22  Christine Caulfield  <ccaulfie@redhat.com>

	This patch adds the definition VOTEQUORUM_NODEID_US to the library, which is already implicitly zero.
	It also adds VOTEQUORUM_NODEID_QDEVICE and makes the code that checks
	for them more generic. This now allows you to change the number of votes
	assigned to a quorum disk (for example)



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2199 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-20  Jan Friesse  <jfriesse@redhat.com>

	Support for uidgid feature
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2198 fd59a12c-fef9-0310-b244-a6a79926bd2f

	*Dispatch returns CS_ERR_BAD_HANDLE only on first hdb_get
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2197 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-20  Christine Caulfield  <ccaulfie@redhat.com>

	Adapt the deliver_fn in the YKD quorum plugin to the new tpg API.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2196 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Print a list of quorum members when it changes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2195 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-18  Jim Meyering  <jim@meyering.net>

	avoid spurious failure of 'make syntax-check's sc_makefile_check
	* pkgconfig/Makefile.am (lib%.pc): Add extra quotes to avoid
	triggering check for use of obsolescent @VAR@ notation.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2194 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	don't include <assert.h> when it's not used
	* exec/apidef.c: Likewise.
	* exec/mainconfig.c: Likewise.
	* exec/service.c: Likewise.
	* exec/timer.c: Likewise.
	* exec/totemconfig.c: Likewise.
	* exec/totemmrp.c: Likewise.
	* exec/vsf_quorum.c: Likewise.
	* services/testquorum.c: Likewise.
	* test/cpgbench.c: Likewise.
	* test/cpgbenchzc.c: Likewise.
	* tools/corosync-fplay.c: Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2192 fd59a12c-fef9-0310-b244-a6a79926bd2f

	always include <config.h> before any other file
	* test/cpgbench.c: Include <config.h> before any other file.
	* test/cpgbenchzc.c: Ditto.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2191 fd59a12c-fef9-0310-b244-a6a79926bd2f

	exec/schedwrk.c: include <config.h>
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2190 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cfg.c: avoid useless if-before-free
	* lib/cfg.c (corosync_cfg_ring_status_get): Avoid useless if-before-free
	and change syntax to avoid triggering false-positive failure of
	the "make syntax-check" sc_cast_of_argument_to_free rule.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2189 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove trailing blanks
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2188 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-18  Christine Caulfield  <ccaulfie@redhat.com>

	When doing a controlled shutdown of corosync, we now send out a JOIN message with our node removed. This should speed up the case where a lot of nodes leave at the same time as they don't need to wait for the token timeout for each node.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2187 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-18  Jan Friesse  <jfriesse@redhat.com>

	coroparse: Handle different EOLs and pass error_string
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2186 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove duplicity in logsys code
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2185 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-13  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix output to syslog
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2184 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-13  Christine Caulfield  <ccaulfie@redhat.com>

	Convert votequorum to use the proper message delivery API rather than the tpg_ calls. Also remove a lot of mess around those calls, such as headers and things that were needed for cman compatibility but which we will not need.
	Fixes some handle changes that did not get picked up when
	handles were changed from unsigned ints to hdb_handle_t


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2183 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-13  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Logsys header clean (comments and whitespaces)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2182 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix totem logging after logsys changes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2181 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix logsys TAG handling
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2180 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-12  Christine Caulfield  <ccaulfie@redhat.com>

	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  Jim Meyering  <jim@meyering.net>

	logsys.c: avoid possibility of buffer overrun
	* exec/logsys.c (strcpy_cutoff): Add buf_len parameter, and never
	write more than this number of bytes into "dest".
	Change type of "cutoff" parameter from int to size_t.
	Sentinel value changes from -1 to 0.
	(log_printf_to_logs): Adapt to those changes.
	Reverse condition of test so the much-shorter block is the "if-block".
	Factor out a common subexpression for readability.
	Exit the loop if output_buffer_idx ever reaches sizeof(output_buffer).

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2178 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: avoid redundant strlen in else-block
	* exec/logsys.c (strcpy_cutoff): Also, with a field width (aka cutoff),
	and a shorter-than-field-width string, don't write the same memory
	twice: once with strncpy using NUL bytes, then again with spaces
	via the memset.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2177 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: factor out some duplication
	* exec/logsys.c (log_printf_to_logs): Factor out repeated calls to
	strcpy_cutoff.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2176 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-12  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add debugging code to logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2175 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-11  Jim Meyering  <jim@meyering.net>

	totemnet.c: Make totemnet_initialize definition match just-changed decl.
	* exec/totemnet.c (totemnet_initialize): Declare deliver_fn's msg_len
	parameter to be of type "unsigned int" (not size_t) to match decl.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2174 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-11  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix logging date format and add missing daemon name
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2173 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-09  Steven Dake  <sdake@redhat.com>

	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-06  Jim Meyering  <jim@meyering.net>

	fix missing-dependency bug, so as not to install bogus .pc files
	* pkgconfig/Makefile.am (all .pc files): Depend on Makefile, so that
	a change in $(prefix) there provokes regeneration of these files.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2170 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-04  Jim Meyering  <jim@meyering.net>

	votequorum.c: avoid a new warning and add a comment in cpg.h
	* votequorum.c: Avoid declaration of unused: ‘votequorum_instance_destructor’
	* include/corosync/cpg.h (cpg_deliver_fn_t) [msg]: Add a comment explaining
	why this member is not const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2169 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 'incompatible pointer type' compiler warning
	* test/cpgverify.c (cpg_deliver_fn): Remove const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2168 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-05-04  Angus Salkeld  <asalkeld@redhat.com>

	add NTF_SERVICE to the service list
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2167 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-30  Steven Dake  <sdake@redhat.com>

	Do checking of handle code after we verify that handle could actually be in the handle database.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2166 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-29  Steven Dake  <sdake@redhat.com>

	Implement thread saftey in corosync trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2165 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix leak caused by invalid put in hdb_handle_destroy.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2164 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-28  Andrew Beekhof  <abeekhof@redhat.com>

	Call all configured exec_dump_fn's when SIGUSR2 is received
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2163 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-28  Steven Dake  <sdake@redhat.com>

	Add cpgverify program to test directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2162 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-27  Andrew Beekhof  <abeekhof@redhat.com>

	Minor fixes to the build process on OSX
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2161 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-27  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix debug: on option for logging purposes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2160 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add max limit error checks in logsys
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2159 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-27  Steven Dake  <sdake@redhat.com>

	Add mechanism to use logsysrec from inside totem stack.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2157 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve security of NSS implementation in totem.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2156 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-26  Steven Dake  <sdake@redhat.com>

	Fix evsverify failure.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2155 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-26  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix --enable-nss default in configure.ac
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2154 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-26  Steven Dake  <sdake@redhat.com>

	Make libnss detection work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2153 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-26  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix pkgconfig file inclusion into release and pass distcheck
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2152 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-26  Steven Dake  <sdake@redhat.com>

	add Chrissie as author of totem NSS implementation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2151 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const from delivery callback to allow inplace endian changes of message contents.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2150 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove "AIS" from cfg.h header file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2149 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow CPP linkage by adding extern "C" {} to external header files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2148 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove config.h from public header file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2147 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove useless APIs from coroipcs.c related to handling of overload conditions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2146 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-25  Christine Caulfield  <ccaulfie@redhat.com>

	Add libnss security support to corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2145 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-24  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Bump SONAME to 4.0.0
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2144 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-24  Jim Meyering  <jim@meyering.net>

	logsys.c: avoid an unnecessary strlen call
	* exec/logsys.c (strcpy_cutoff): Use strlen, then memcpy,
	not strcpy, then strlen.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2143 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-24  Jan Friesse  <jfriesse@redhat.com>

	Add Jan Friesse (me) to the list of Corosync authors
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2142 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Steven Dake  <sdake@redhat.com>

	Remove mempool since it is unused and isn't going to be a feature in this release.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2141 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add request_shutdown call to coroapi.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2140 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add logsys yield counter for the logsys thread.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2139 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Jim Meyering  <jim@meyering.net>

	corosync.pc.in: Define Cflags
	* pkgconfig/corosync.pc.in (Cflags): Define.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2138 fd59a12c-fef9-0310-b244-a6a79926bd2f

	pkgconfig: correct and clean up Makefile.am
	* pkgconfig/Makefile.am: Factor, add missing deps.
	(pkgconf_LIBS): Remove unused var.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2137 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Steven Dake  <sdake@redhat.com>

	Modify property of loc script to be executable.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2136 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove rmd.h header file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2135 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Include file cleanups.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2134 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cleanup coroipcc.h header file to remove saHandleXXX and friends.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2133 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcs.h cleanup.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2132 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Christine Caulfield  <ccaulfie@redhat.com>

	This patch removes the (now redundant) call to sync_primary_callback_fn when quorum changes.
	As we established a while ago, quorum is independent of sync and all
	this code does is segfault when called!



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2131 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Steven Dake  <sdake@redhat.com>

	Remove priority inversion in logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2130 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Jim Meyering  <jim@meyering.net>

	exec/Makefile.am: require that copied code stays in sync
	* exec/Makefile.am (check_logsys_log_printf_functions): New rule.
	(check): Depend on check_logsys_log_printf_functions.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2129 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: indent consistently
	* exec/logsys.c (_logsys_log_printf): Indent with TABs to be
	consistent with copied-from function, _logsys_log_vprintf.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2128 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Jan Friesse  <jfriesse@redhat.com>

	Make ipc_log_printf function working by adding _logsys_log_vprintf, which is mostly same as _logsys_log_printf but takes va_list as argument.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2127 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-23  Steven Dake  <sdake@redhat.com>

	use uint64_t for hdb_handle_t type and also specify some formatting strings for printing handles out of the handle database.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2126 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Steven Dake  <sdake@redhat.com>

	Remove saHandleXXX and friends and use hdb instead.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2125 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Jan Friesse  <jfriesse@redhat.com>

	Rewrite of CPG. It solves problems with double delete.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2124 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Stop hardcoding /var
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2123 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Jan Friesse  <jfriesse@redhat.com>

	Remove MESSAGE_REQ_CPG_GROUPS_GET call and all function using that.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2122 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Kill all asserts from logsys and handle proper error return
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2121 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Steven Dake  <sdake@redhat.com>

	Add missing header from last commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2120 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Reworking of include file dependencies.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2119 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Jim Meyering  <jim@meyering.net>

	remove empty lines at end-of-file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2118 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove all trailing blanks
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2117 fd59a12c-fef9-0310-b244-a6a79926bd2f

	perf: avoid writing 1MB of zero bytes
	Don't initialize the entire just-allocated buffer to all zeroes.
	The very next lines initialize all members except "data".
	* exec/totempg.c (assembly_ref): Initialize the first byte of
	assembly->data to 0, just in case someone uses it as a string.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2116 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-22  Steven Dake  <sdake@redhat.com>

	Change shared memory to use mmap() system calls.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2115 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Zero copy feature for IPC transmits.  Also integrated into CPG library service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2114 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-21  Steven Dake  <sdake@redhat.com>

	Remove memory leak from new dispatch circular buffer mapped system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2113 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-21  Jim Meyering  <jim@meyering.net>

	rename function: s/strstr_rs/strchr_rs/ to reflect new semantics
	* exec/coroparse.c (parse_section):
	* exec/util.c (strchr_rs, strstr_rs):
	* exec/util.h (corosync_exit_error):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2112 fd59a12c-fef9-0310-b244-a6a79926bd2f

	rewrite strstr_rs not to use strdup
	strstr_rs used strdup and didn't handle failure.  This change removes
	the use of strdup as well as the uses of strstr, since all callers
	passed a string of length 1 as the second argument.  This also changes
	the prototype so that the 2nd parameter is a byte, not a string.

	* util.h (strstr_rs): Adjust prototype.
	* util.c (strstr_rs): Rewrite/simplify.
	* sa-confdb.c (strstr_rs): Remove duplicate definition.
	* coroparse.c (parse_section): Update callers.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2111 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-21  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix pthread linking
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2110 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix uid and gid determination
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2109 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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  Jim Meyering  <jim@meyering.net>

	exce/main.c: handle strdup failure
	* exec/main.c (main): Upon strdup failure, log the error and exit.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2107 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove useless if-before-free tests
	* exec/coropoll.c (poll_destroy): Remove useless if.
	* exec/main.c (main): Likewise.
	* include/corosync/hdb.h (hdb_destroy): Likewise.
	* lcr/lcr_ifact.c (scandir): Likewise.
	* lib/sa-confdb.c (load_config): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2106 fd59a12c-fef9-0310-b244-a6a79926bd2f

	services/confdb.c: avoid four warnings
	* services/confdb.c (m2h): New function.
	(message_handler_req_lib_confdb_object_iter): Use m2h rather than a cast.
	(message_handler_req_lib_confdb_object_find): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2105 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-21  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Guarantee that all logging buffers are flushed before we die
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2104 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add logsys_flush logsys API call to signal the logging thread
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2103 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add logging configuration backward compatibility layer
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2102 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix output filtering when debug is enabled
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2101 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Jim Meyering  <jim@meyering.net>

	corosync-cfgtool.c: handle strdup failure gracefully
	* tools/corosync-cfgtool.c (xstrdup): New function.
	(main): Use it in place of strdup.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2100 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Steven Dake  <sdake@redhat.com>

	Use spinlocks in library handle references.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2099 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Jim Meyering  <jim@meyering.net>

	schedwrk.c: avoid two int-pointer cast conversion warnings
	* exec/schedwrk.c (void2handle, handle2void): New functions.
	(schedwrk_do): Use void2handle rather than an unportable cast.
	(schedwrk_create): Use handle2void rather than an unportable cast.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2098 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix libconfdb linking
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2097 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve logsys error handling in logsys_format_set and logsys_config_file_set_unlocked.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2096 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename corosync.conf to corosync.conf.example take 2
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2095 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename corosync.conf to corosync.conf.example
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2094 fd59a12c-fef9-0310-b244-a6a79926bd2f

	readd early log level check for performance reasons.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2093 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Steven Dake  <sdake@redhat.com>

	throw away mode in totempg was operating as a global variable, when it is possible for different nodes to be in different configurations of throw away.  This patch makes the variable instanced.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2092 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-20  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add logsys v3
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2091 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-18  Steven Dake  <sdake@redhat.com>

	Add missing schedwrk files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2090 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add schedwrk_create and schedwrk_destroy coroapi functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2089 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initialize pload context properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2088 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move QUICKSTART to INSTALL and update it.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2087 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add AUTHORS file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2086 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove declaration of data struct inside code.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2085 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warning in evsbench.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2084 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add fatal error call to ipc initializations.y
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2083 fd59a12c-fef9-0310-b244-a6a79926bd2f

	check result of fgets in testcpg.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2082 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warnings about objdb that casts a const char * to a char *.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2081 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warnings about typedefs in apidef.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2080 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rework how dispatch functions so service engines work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2079 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-15  Jim Meyering  <jim@meyering.net>

	configure.ac: enable gcc's -Wshadow warning
	* configure.ac (WARNLIST): Add -Wshadow to the list.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2078 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg.c: rename file-scoped global to avoid shadowing warnings
	* services/cpg.c: s/req_exec_cpg_downlist/g_req_exec_cpg_downlist/

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2077 fd59a12c-fef9-0310-b244-a6a79926bd2f

	vsf_ykd.c: Rename param to avoid shadowing global "ydk_state"
	* exec/vsf_ykd.c (ykd_state_endian_convert): Rename param:
	s/ydk_state/state/

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2076 fd59a12c-fef9-0310-b244-a6a79926bd2f

	services/cfg.c move shadowed decl into scope where used
	* services/cfg.c (message_handler_req_lib_cfg_tryshutdown):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2075 fd59a12c-fef9-0310-b244-a6a79926bd2f

	corosync-fplay.c: don't shadow file-scoped global, "record"
	* tools/corosync-fplay.c: Rename: s/record/g_record/.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2074 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testvotequorum1.c: don't shadow file-scoped global, "handle"
	* test/testvotequorum1.c (main): Rename: s/handle/g_handle/.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2073 fd59a12c-fef9-0310-b244-a6a79926bd2f

	corosync-fplay.c: avoid shadowin: s/index/idx/
	* tools/corosync-fplay.c (printer_totempg_mcast_fits):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2072 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcs.c: don't shadow functions read and write
	* exec/coroipcs.c (req_setup_recv): rename locals:
	s/read/n_read/; s/write/n_write.
	Also declare param to be const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2071 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemnet.c: don't shadow crypto.h type, "hmac_state"
	* exec/totemnet.c (encrypt_and_sign_worker): Rename a local var:
	s/hmac_state/hmac_st/

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2070 fd59a12c-fef9-0310-b244-a6a79926bd2f

	don't shadow file-scoped global, "handle"
	* test/testquorum.c: Rename: s/handle/g_handle/.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2069 fd59a12c-fef9-0310-b244-a6a79926bd2f

	wthread.c: Rename file-scoped type to avoid shadows.
	* exec/wthread.c (struct worker_thread_t): Rename from
	struct worker_thread.
	(start_worker_thread): Rename from function "worker_thread".
	* exec/wthread.h (struct worker_thread_group) [threads]: Update
	member type: s/struct worker_thread/struct worker_thread_t/

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2068 fd59a12c-fef9-0310-b244-a6a79926bd2f

	don't shadow the global type name, "timer_handle"
	* exec/coropoll.c (poll_timer_delete): Rename locals and/or params.
	* exec/timer.c (corosync_timer_delete): Likewise.
	(corosync_timer_expire_time_get): Likewise.
	* exec/tlist.h (timerlist_del, timerlist_expire_time): Likewise.
	(timerlist_pre_dispatch, timerlist_post_dispatch): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2067 fd59a12c-fef9-0310-b244-a6a79926bd2f

	list.h: avoid shadowing warning
	* include/corosync/list.h: Don't use "remove" as param name.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2066 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcc.c: avoid shadowing warning
	* lib/coroipcc.c: Don't use "read" as param name.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2065 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c: more "const" propagation
	* exec/totemsrp.c (message_handler_memb_commit_token): Don't cast away
	const on "memb_commit_token".  This exposed a const violation.
	Fix that with minor rearrangement and an added memcpy.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2064 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c: avoid a const-correctness problem
	* exec/totemsrp.c (message_handler_memb_merge_detect): Don't modify
	the now-const "msg" parameter.  Instead, use a local copy.
	Patch by Steven Dake.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2063 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	* README.devmap: Update a prototype.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2061 fd59a12c-fef9-0310-b244-a6a79926bd2f

	change a few "int msg_len" to "size_t msg_len"; adjust docs
	* lib/cpg.c (cpg_mcast_joined):
	* lib/evs.c (evs_mcast_joined, evs_mcast_groups):
	* man/cpg_initialize.3:
	* man/evs_initialize.3:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2060 fd59a12c-fef9-0310-b244-a6a79926bd2f

	corosync-keygen.c: diagnose a few more failures
	* tools/corosync-keygen.c (main): Diagnose short reads, failed mkdir
	and fchmod; detect write failure.  Close file descriptors.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2059 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-14  Steven Dake  <sdake@redhat.com>

	Autodetect build environment for configure for developers.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2058 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-10  Steven Dake  <sdake@redhat.com>

	Fix compile warning in main.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2057 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cast a const away in an iovector.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2056 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warnings from wthread.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2055 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove qualifier check in warnings list.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2054 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove admin_state_set and admin_state_get.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2053 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warning in keygen and report error on fchown appropriately.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2052 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warning in corosync-objctl.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2051 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add spin locks for critical sections in hdb api.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2050 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-09  Jim Meyering  <jim@meyering.net>

	coroapi.h: Make totem_mcast's *iovec param const.
	* include/corosync/engine/coroapi.h (struct corosync_api_v1):
	[totem_mcast]: Make *iovec param const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2049 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg.h, objdb.h, coroaph.h: more const/size_t
	* include/corosync/cpg.h (cpg_callbacks_t):
	* include/corosync/mar_cpg.h (marshall_to_mar_cpg_name_t):
	* lib/cpg.c (cpg_join, cpg_leave):
	* lib/cpg.c (cpg_mcast_joined): make iovec const.
	* include/corosync/cpg.h (cpg_mcast_joined): update prototype
	...

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2048 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroapi.h: change lib_handler_fn's *msg to be const
	Make a tiny type change and watch it propagate.
	* include/corosync/engine/coroapi.h
	(struct corosync_lib_handler) [lib_handler_fn]: Change type
	of 2nd parameter: s/void *msg/const void *msg/.
	Propagate the above into cfg.c and votequorum.c:
	* services/cfg.c (message_handler_req_lib_cfg_get_node_addrs):
	Constification exposed a bug in this function whereby it mistakenly
	modified storage through its now-const *msg parameter.  Since it
	did that solely to store a temporary result, we've changed it
	to use a local variable instead.
	* services/votequorum.c (message_handler_req_lib_votequorum_setvotes):
	Likewise.
	* exec/vsf_quorum.c: add const to msg param.
	* services/evs.c: Likewise.
	* services/pload.c: Likewise.
	* services/cpg.c: Likewise.
	* services/confdb.c: Likewise.
	* exec/coroipcs.h: signature of coroipcs_handler_fn_lvalue must match
	that of lib_handler_fn; noted via main.c.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2047 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testevsth.c: const+size_t: evs_deliver_fn, evs_confchg_fn
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2046 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-08  Jim Meyering  <jim@meyering.net>

	coroipcc.h (coroipcc_msg_send_reply_receive): Make res_len size_t.
	* include/corosync/coroipcc.h (coroipcc_msg_send_reply_receive):
	change type of res_len parameter.
	* lib/coroipcc.c (coroipcc_reply_receive): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2045 fd59a12c-fef9-0310-b244-a6a79926bd2f

	sync the rest of the code with previous header changes
	* exec/coroipcs.c (coroipcs_response_send)
	(coroipcs_dispatch_send):
	* exec/coroipcs.h (handler_fn_get):
	* include/corosync/cpg.h (cpg_deliver_fn_t, cpg_confchg_fn_t):
	* test/cpgbench.c (cpg_bm_confchg_fn, cpg_bm_deliver_fn):
	* test/testcpg.c (print_cpgname, DeliverCallback)
	(ConfchgCallback):
	* test/testcpg2.c (deliver, confch):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2044 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg.h, coroapi.h: more size_t and const changes
	* include/corosync/cpg.h (cpg_deliver_fn_t, cpg_confchg_fn_t)
	(cpg_groups_get_fn_t):
	* include/corosync/engine/coroapi.h (ipc_response_send)
	(ipc_dispatch_send, tpg_join, tpg_leave, tpg_groups_mcast)
	(tpg_groups_reserve):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2043 fd59a12c-fef9-0310-b244-a6a79926bd2f

	sync the rest of the code with previous header changes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2042 fd59a12c-fef9-0310-b244-a6a79926bd2f

	make all priv_data_pt pointers non-"const"
	I'd suspected this would be necessary, but until now hadn't
	found a case in which it actually was.  That case:
	totemconfig.c's totem_key_change_notify.
	It has a priv_data_pt parameter that is used like this:

	  struct totem_config *totem_config = priv_data_pt;

	and totem_config is in turn passed as arg #2 to
	totem_volatile_config_read, where it is decidedly non-const.

	git grep -l 'const void \*priv' \
	  |xargs perl -pi -e 's,const (void \*priv_data_pt),$1,'

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2041 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroapi.h, confdb.h, objdb.h: big s/int/size_t/ change
	* exec/mainconfig.c (objdb_get_string, objdb_get_int):
	* exec/totemconfig.c (objdb_get_string, objdb_get_int)
	(totem_config_keyread, totem_key_change_notify):
	* include/corosync/confdb.h (confdb_callbacks_t):
	* include/corosync/engine/coroapi.h (group_len, object_len)
	(key_len, validate_callback, object_key_change_notify_fn_t)
	(object_create_notify_fn_t, object_destroy_notify_fn_t)
	(object_notify_callback_fn_t, object_reload_notify_fn_t)
	(object_create, object_key_create, object_find_create)
	(object_key_get, object_key_replace, object_key_delete)
	(object_iter, object_key_iter, object_name_get)
	(object_key_iter_from, object_key_increment)
	(object_key_decrement):
	* include/corosync/engine/objdb.h (object_key_change_notify_fn_t)
	(object_create_notify_fn_t, object_destroy_notify_fn_t)
	(object_len, key_len, validate_callback, object_create)
	(object_key_create, object_find_create, object_key_get)
	(object_key_replace, object_key_delete, object_iter)
	(object_key_iter, object_name_get, object_key_iter_from)
	(object_key_increment, object_key_decrement):
	* lib/confdb.c (confdb_object_create, confdb_key_create)
	(confdb_key_delete, confdb_key_get, confdb_key_increment)
	(confdb_key_decrement, confdb_key_replace, confdb_object_find)
	(confdb_object_iter, confdb_key_iter):
	* lib/sa-confdb.c (confdb_sa_object_create, confdb_sa_key_create)
	(confdb_sa_key_delete, confdb_sa_key_get)
	(confdb_sa_key_increment, confdb_sa_key_decrement)
	(confdb_sa_key_replace, confdb_sa_object_find)
	(confdb_sa_object_iter, confdb_sa_key_iter):
	* lib/sa-confdb.h:
	* services/confdb.c (message_handler_req_lib_confdb_key_replace):
	* services/votequorum.c (objdb_get_string, objdb_get_int)
	(quorum_key_change_notify, votequorum_objdb_reload_notify):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2040 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemconfig.c: don't hard-code "128"...
	* exec/totemconfig.c (read_keyfile): Don't hard-code "128".
	Use sizeof(...) instead.
	Avoid duplicate "close(fd)" calls.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2039 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemconfig.c: don't let a key of length > 128 clobber memory
	* exec/totemconfig.c (totem_config_keyread): Reject a key with length
	greater than that of our private_key buffer.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2038 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem.h: use symbolic array dimensions in public struct members
	* include/corosync/totem/totem.h:
	(TOTEM_PRIVATE_KEY_LEN, TOTEM_RRP_MODE_BYTES): Define.
	(struct totem_config): Use the new names, rather than literals.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2037 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.h: change type of totempg_group.group_len from int to size_t
	* include/corosync/totem/totempg.h (struct totempg_group) [group_len]:
	Change member type from int to size_t.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2036 fd59a12c-fef9-0310-b244-a6a79926bd2f

	rmd.h: adjust types (const+size_t) of prototype
	* include/corosync/rmd.h: ...even though there are no definitions
	for these functions.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2035 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	convert each "size_t iov_len" declaration to "unsigned int iov_len"
	Via this command:
	git grep -l -E 'size_t[[:blank:]]+iov_len' \
	  | xargs perl -pi -e 's/((?:^|,)\s*)size_t\s+(iov_len)/${1}unsigned int $2/'

	Affected files and (functions/macros):
	* exec/totempg.c (totempg_groups_mcast_groups)
	(totempg_groups_send_ok_groups):
	* include/corosync/evs.h (evs_callbacks_t):
	* include/corosync/totem/totempg.h (TOTEMPG_SAFE):
	* lib/evs.c (evs_mcast_joined, evs_mcast_groups):
	* man/cpg_mcast_joined.3:
	* man/evs_mcast_groups.3:
	* man/evs_mcast_joined.3:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2032 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	*_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

	no-op change: s/gruop/group/ in prototypes and documentation
	* include/corosync/engine/coroapi.h (tpg_join, tpg_leave):
	* man/evs_mcast_groups.3:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2028 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem: const+unsigned+size_t
	* exec/totempg.c (totempg_groups_mcast_groups):
	(totempg_groups_send_ok_groups):
	* include/corosync/totem/totem.h (interface_count):
	(private_key_len, threads, heartbeat_failures_allowed):
	* include/corosync/totem/totempg.h:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2027 fd59a12c-fef9-0310-b244-a6a79926bd2f

	rmd.h: s/int/size_t; const-correctness changes...
	* include/corosync/rmd.h: in spite of these being unused interfaces

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2026 fd59a12c-fef9-0310-b244-a6a79926bd2f

	lcr_ckpt.h: unused file: const/size_t
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2025 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ipc_evs.h: s/int/size_t
	* include/corosync/ipc_evs.h (msglen, member_list_entries):
	(left_list_entries, joined_list_entries, group_entries, msg_len):
	(group_entries, msg_len, member_list_entries):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2024 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	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

	quorum.h (quorum_set_quorate_fn_t): s/int/size_t/
	propagate the change:
	* include/corosync/engine/quorum.h (quorum_set_quorate_fn_t):
	* exec/vsf_quorum.c (quorum_view_list_entries):
	(quorum_api_set_quorum, quorum_exec_init_fn):
	* exec/vsf_ykd.c (ykd_primary_callback_fn):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2021 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-07  Steven Dake  <sdake@redhat.com>

	Remove wrong project name.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2020 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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  Jim Meyering  <jim@meyering.net>

	accommodate iov_len of type size_t (i.e., never negative)
	* services/pload.c (send_message): Don't test for iov_len < 0,
	since it can no longer happen.
	* lib/evs.c: Fix a typo in an iov_len-related FIXME comment.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2018 fd59a12c-fef9-0310-b244-a6a79926bd2f

	jhash.h (jhash2): make first parameter const
	* include/corosync/jhash.h (jhash2): const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2017 fd59a12c-fef9-0310-b244-a6a79926bd2f

	lcr_comp.h: size_t
	* include/corosync/lcr/lcr_comp.h (struct lcr_comp, struct lcr_iface):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2016 fd59a12c-fef9-0310-b244-a6a79926bd2f

	list.h (list_empty): Make param const.
	* include/corosync/list.h (list_empty): Make param const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2015 fd59a12c-fef9-0310-b244-a6a79926bd2f

	mar_cpg.h: make "src" params const.
	* include/corosync/mar_cpg.h:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2014 fd59a12c-fef9-0310-b244-a6a79926bd2f

	mar_gen.h: make params const
	* include/corosync/mar_gen.h (get_mar_name_t, mar_name_match): const
	* exec/util.h (get_mar_name_t, mar_name_match): Remove unneeded decls.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2013 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemip.h: const'ify
	* include/corosync/totem/totemip.h: Add const to prototypes.
	* exec/totemip.c (totemip_equal, totemip_copy): Adjust.
	(totemip_copy_endian_convert, totemip_localhost_check): Likewise.
	(totemip_sockaddr_to_totemip_convert): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2012 fd59a12c-fef9-0310-b244-a6a79926bd2f

	sq.h: const'ify, and avoid NULL-deref
	* include/corosync/sq.h (sq_init): Avoid NULL-deref on malloc failure.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2011 fd59a12c-fef9-0310-b244-a6a79926bd2f

	queue.h: Replace #ifdef COROSYNC_SOLARIS...
	* include/corosync/queue.h: Remove #ifdef COROSYNC_SOLARIS
	in favor of agnostic "#ifdef queue".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2010 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.h (logsys_format_set): Change return type, adjust param type.
	* include/corosync/engine/logsys.h:
	* exec/logsys.c (logsys_format_set): Return -1 upon strdup failure.
	Change type of param to "const char *".
	* exec/logsys.c (logsys_init): Adjust use.
	* exec/mainconfig.c (corosync_main_config_read_logging): Adjust uses.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2009 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-03  Steven Dake  <sdake@redhat.com>

	Revert constructor priority in logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2008 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove extra printf from coropoll.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2007 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix timers not expiring.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2006 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-03  Jim Meyering  <jim@meyering.net>

	remove 3 useless casts
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2005 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.h (confdb_reload) Add errbuf_len parameter and propagate.
	* include/corosync/confdb.h (confdb_callbacks_t):
	* lib/confdb.c (confdb_reload):
	* lib/sa-confdb.c (confdb_sa_reload):
	* lib/sa-confdb.h:
	* test/testconfdb.c (main):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2004 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb_sa_write: propagate errbuf_len parameter
	* lib/sa-confdb.c (confdb_sa_write): Propagate errbuf_len parameter.
	* lib/sa-confdb.h: Update prototype

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2003 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.h: error_text vs. buflen
	* lib/confdb.c (MIN): Define.
	(confdb_write): Use new errbuf_len parameter.
	Also note bugs (Chrissie confirms) that error_text is not
	set in two error-return cases.
	* test/testconfdb.c (do_write_tests): Update use of confdb_write.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2002 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.h: continue API changes: const+size_t
	* include/corosync/confdb.h (confdb_object_create_notify_fn_t):
	(confdb_object_delete_notify_fn_t):
	* tools/corosync-objctl.c (tail_object_created, tail_object_deleted):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2001 fd59a12c-fef9-0310-b244-a6a79926bd2f

	print "?" in place of non-printing bytes of obj/key/val values
	* tools/corosync-objctl.c: Include <ctype.h>
	(print_name): New function.
	(tail_key_changed): Use it to avoid printing garbage to screen.
	* include/corosync/confdb.h (confdb_key_change_notify_fn_t): Convert
	type of "int" length params to "size_t".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2000 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.h (confdb_key_change_notify_fn_t): Make 3 params "const"
	* include/corosync/confdb.h (confdb_key_change_notify_fn_t):
	Make 3 params const.
	* tools/corosync-objctl.c (find_object_of_type_t, callbacks):
	(tail_key_changed): Don't write into would-be-const members.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1999 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cfg.h: mark "address_length" as an unused member
	* include/corosync/cfg.h: Add a FIXME comment.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1998 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cfg.h: adjust parameter types: const+s/int/size_t/
	* lib/cfg.c (corosync_cfg_get_node_addrs): Make "max_addrs" size_t.
	(corosync_cfg_kill_node): Make "reason" const.
	* include/corosync/cfg.h: Update prototypes.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1997 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cfg.h: add const
	* lib/cfg.c (corosync_cfg_service_load): Make service_name "const".
	(corosync_cfg_service_unload): Likewise.
	* include/corosync/cfg.h: Update prototypes.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1996 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcc. h (coroipcc_dispatch_recv): Add a buflen parameter.
	* lib/coroipcc.c (coroipcc_dispatch_recv): Update definition, and...
	(memcpy_swrap): ... add a parameter here, too.
	* include/corosync/coroipcc.h (coroipcc_dispatch_recv):
	* lib/cfg.c (corosync_cfg_dispatch):
	* lib/confdb.c (confdb_dispatch):
	* lib/cpg.c (cpg_dispatch, cpg_flow_control_state_get):
	* lib/evs.c (evs_dispatch):
	* lib/quorum.c (quorum_dispatch):
	* lib/votequorum.c (votequorum_dispatch):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1995 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcc.h: add "const" to msg_send_reply_* "iov" parameters
	* include/corosync/coroipcc.h (coroipcc_msg_send_reply_receive_in_buf):
	Make "iov" const.
	* lib/coroipcc.c (coroipcc_msg_send): Make iov const.
	(coroipcc_msg_send_reply_receive): Likewise.
	(coroipcc_msg_send_reply_receive_in_buf): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1994 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.c: add missing mutex-unlock calls after coroipcc_dispatch_recv
	* lib/confdb.c (confdb_dispatch):
	The code in lib/cfg.c's (corosync_cfg_dispatch) is nearly identical
	to that in lib/confdb.c's (confdb_dispatch), but lacked two
	pthread_mutex_unlock calls.

	2009-04-03  Jim Meyering  <meyering@redhat.com>

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1993 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-03  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Drop unrequired struct
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1992 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix logsys construct execution priority
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1991 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-02  Steven Dake  <sdake@redhat.com>

	Patch to use snprintf where appropriate to avoid buffer overrun.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1990 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-01  Jim Meyering  <jim@meyering.net>

	corosync-objctl.c: remove a just-added "const"
	* tools/corosync-objctl.c (get_key): Remove just-added const from
	2nd parameter.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1989 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-01  Steven Dake  <sdake@redhat.com>

	Patch to document uid/gid and to default to allowing ais user to access services of corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1988 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-01  Fabio M. Di Nitto  <fdinitto@redhat.com>

	add fileline/function_name support in corosync
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1987 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix last build warning in mainconfig.
	Add a missing const.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1986 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-01  Jim Meyering  <jim@meyering.net>

	remove unused file-scoped global
	* tools/corosync-fplay.c (records_printed): Remove.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1985 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid prototype warnings, constify
	* tools/corosync-fplay.c: Make many parameters and local pointers const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1984 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove unused functions and variable
	* tools/corosync-fplay.c (sync_printer_nada): Remove function.
	* tools/corosync-objctl.c (get_child_name): Remove function.
	* test/evsverify.c (msg): Remove unused variable.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1983 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	* test/testevs.c: avoid 2 warnings, decl "static"
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1981 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	* exec/apidef.c: Include "apidef.h".
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1979 fd59a12c-fef9-0310-b244-a6a79926bd2f

	timer.c: connect with its published prototypes
	* exec/timer.c: Include "timer.h".
	* exec/timer.h (corosync_timer_init): Make return type in prototype
	match the one in the function definition.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1978 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add "void" parameter list to avoid "isn't prototype" warning
	* exec/objdb.c (objdb_wrlock, objdb_rdlock, objdb_rdunlock):
	(objdb_wrunlock):
	* services/cfg.c (send_shutdown, check_shutdown_status):
	* services/votequorum.c (send_expectedvotes_notification):
	* tools/corosync-cfgtool.c (shutdown_do):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1977 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-04-01  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix internal API usage and add support for file_name
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1976 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix build warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1975 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-30  Jim Meyering  <jim@meyering.net>

	totemip.c: avoid 1 warning
	* exec/totemip.c (totemip_print): Add const.
	* include/corosync/totem/totemip.h: Ditto.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1974 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evsverify.c: avoid 1 warning
	* test/evsverify.c: Add a const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1973 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testcpg.c: avoid 1 warning
	* test/testcpg.c (sigintr_handler): Mark as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1972 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evsbench.c: avoid 1 warning
	* test/evsbench.c (sigintr_handler): Mark as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1971 fd59a12c-fef9-0310-b244-a6a79926bd2f

	apidef.c: avoid 1 warning
	* exec/apidef.c (_corosync_public_exit_error): Mark as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1970 fd59a12c-fef9-0310-b244-a6a79926bd2f

	main.h: avoid 1 warning
	* exec/main.c (corosync_exit): Mark as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1969 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: avoid 1 warning
	* exec/logsys.c (logsys_conf): Add const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1968 fd59a12c-fef9-0310-b244-a6a79926bd2f

	util.h: avoid 2 warnings
	* exec/util.h (_corosync_out_of_memory_error): Mark as "noreturn".
	(_corosync_exit_error): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1967 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: avoid 1 warning
	* exec/logsys.c (logsys_worker_thread): Mark function as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1966 fd59a12c-fef9-0310-b244-a6a79926bd2f

	wthread.c: avoid 1 warning
	* exec/wthread.c (worker_thread): Mark function as "noreturn".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1965 fd59a12c-fef9-0310-b244-a6a79926bd2f

	uis.c: don't infloop upon poll failure (e.g., ENOMEM)
	* lcr/uis.c (lcr_uis_server): Return NULL for any poll failure
	other than EINTR.  This also avoids a warning.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1964 fd59a12c-fef9-0310-b244-a6a79926bd2f

	mar_gen.h, cfg.c: avoid 1 warning
	* services/cfg.c (message_handler_req_exec_cfg_killnode):
	* include/corosync/mar_gen.h (marshall_to_mar_name_t):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1963 fd59a12c-fef9-0310-b244-a6a79926bd2f

	mainconfig.c: avoid 2 warnings
	* exec/mainconfig.c (uid_determine, gid_determine): Add const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1962 fd59a12c-fef9-0310-b244-a6a79926bd2f

	service.c: avoid 5 warnings
	* exec/service.c (struct default_service): Make "name" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1961 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.h: avoid a warning
	* include/corosync/totem/totempg.h (struct totempg_group):
	Make "group" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1960 fd59a12c-fef9-0310-b244-a6a79926bd2f

	main.c: avoid a few warnings FIXME: merge with another?
	* exec/main.c (ipc_log_printf): Add const.
	(main): tweak config_iface handling

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1959 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testvotequorum1.c: avoid 5 warnings
	* test/testvotequorum1.c (node_state): Return "const char *".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1958 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evsbench.c; avoid a format mismatch warning
	* test/evsbench.c (evs_deliver_fn): %s vs. void*

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1957 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroparse.c: add const: avoid 2 warnings
	* exec/coroparse.c: Add const.  Tweak s/fp==0/fp==NULL/

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1956 fd59a12c-fef9-0310-b244-a6a79926bd2f

	services/testquorum.c: avoid a warning
	* services/testquorum.c (key_change_notify): Add const attributes.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1955 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid format mismatch warning
	* test/testquorum.c (quorum_notification_fn): Add casts to
	match formats.  Use unsigned formats for unsigned values.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1954 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testcpg2.c: avoid 1 warning
	* test/testcpg2.c (main): Add a const-discarding cast.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1953 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testevs.c: avoid 2 more warnings
	* test/testevs.c: Declare global to be "static const".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1952 fd59a12c-fef9-0310-b244-a6a79926bd2f

	* test/testcpg.c (main): Remove decl of unused var.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1951 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.c, objdb.h, coroapi.h: add a few const, remove one: 4 fewer warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1950 fd59a12c-fef9-0310-b244-a6a79926bd2f

	confdb.c: add a few const: avoid 3 more
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1949 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcs.h: avoid 3 warnings
	* exec/coroipcs.h: Forward-declare "struct iovec".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1948 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 1 warning
	* services/evs.c (message_handler_req_exec_mcast): Introduce
	a deliberate const-discarding cast and mark it with a comment.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1947 fd59a12c-fef9-0310-b244-a6a79926bd2f

	object_write_config: add const to remove one more
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1946 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys.c: fix two more warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1945 fd59a12c-fef9-0310-b244-a6a79926bd2f

	merge with "in progress" -- down 6 to 73 warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1944 fd59a12c-fef9-0310-b244-a6a79926bd2f

	in progress: avoid warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1943 fd59a12c-fef9-0310-b244-a6a79926bd2f

	votequorum.c (votequorum_qdisk_register): add "const" to avoid 1 more warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1942 fd59a12c-fef9-0310-b244-a6a79926bd2f

	votequorum.c: add "const" to avoid 2 more warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1941 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 3 warnings
	votequorum.c (kill_reason): Use "const char*" as return type, not "char *".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1940 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 7 warnings
	(struct sync_callbacks), (struct corosync_service_engine) [name]:
	Make member const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1939 fd59a12c-fef9-0310-b244-a6a79926bd2f

	votequorum.c: add "const" to avoid 2 more warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1938 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem*: add "const" to avoid 3 more warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1937 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem*: add "const" to avoid 1 more warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1936 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem*: add "const" to avoid 1 more warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1935 fd59a12c-fef9-0310-b244-a6a79926bd2f

	vsf_type: add "const" to avoid warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1934 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemconfig.c: avoid another warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1933 fd59a12c-fef9-0310-b244-a6a79926bd2f

	* exec/totemconfig.c: eliminate 8 const-related warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1932 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb.c (object_reload_config): add const
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1931 fd59a12c-fef9-0310-b244-a6a79926bd2f

	* exec/objdb.c (object_create): make "object_name" param const
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1930 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add const to 3 params
	* include/corosync/engine/objdb.h (object_key_change_notify_fn_t):

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1929 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb.c, etc: add "const" to avoid warnings
	* exec/objdb.c:
	* include/corosync/engine/coroapi.h:
	* include/corosync/engine/objdb.h:

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1928 fd59a12c-fef9-0310-b244-a6a79926bd2f

	uis.c: avoid warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1927 fd59a12c-fef9-0310-b244-a6a79926bd2f

	corosync-fplay.c: make more robust, avoid warnings
	* tools/corosync-fplay.c (main): Diagnose malloc,open, and read failures

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1926 fd59a12c-fef9-0310-b244-a6a79926bd2f

	service.[ch]: remove 7 const-related warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1925 fd59a12c-fef9-0310-b244-a6a79926bd2f

	coroipcs.[ch]: remove 4 const-related warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1924 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.c: remove one const-related warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1923 fd59a12c-fef9-0310-b244-a6a79926bd2f

	objdb.h: sync const-related from coroapi.h
	* include/corosync/engine/objdb.h: mirror const-related changes
	to coroapi.h.  FIXME: all of these identical API's should not
	be separately modifiable.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1922 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.c: remove one const-related warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1921 fd59a12c-fef9-0310-b244-a6a79926bd2f

	pload.c: make a couple functions/interfaces const-correct
	* services/pload.c: Remove unused file-scoped global "msg_no".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1920 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys_config_facility_set: make "name" parameter const
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1919 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cfg.c: nearly warning-free
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1918 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cpg.c: resolve almost all warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1917 fd59a12c-fef9-0310-b244-a6a79926bd2f

	timer.c: don't infloop upon poll failure (e.g., ENOMEM)
	* exec/timer.c (prioritized_timer_thread): Remove unreached
	call to pthread_exit after infloop.
	Return NULL for any poll failure other than EINTR.
	Use "continue" rather than an equivalent "goto".
	Return NULL upon failed pthread_setschedparam.
	This also avoids a warning.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1916 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys: detect write failure and avoid a file descriptor leak
	* exec/logsys.c (logsys_log_rec_store): Close output file descriptor
	and detect any failure.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1915 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemconfig: avoid a file descriptor leak in the common case
	* exec/totemconfig.c (read_keyfile): Don't leak a file descriptor.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1914 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-30  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix pkgconfig generation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1913 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-25  Steven Dake  <sdake@redhat.com>

	Make all threads use same scheduling priority even with -p option specified to avoid deadlock in spinlocks.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1912 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-25  Christine Caulfield  <ccaulfie@redhat.com>

	Fix IPC when running on mac OS/X
	Note that OS/X seems to be rather stingy about its IPC resources, so if things
	crash you will probably have to clean up before starting it all again.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1911 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The IPC system smply concatenates SOCKETDIR with run/<socketname> so if th euser forgets to add a trailing slash to the name: eg
	./configure --with-socket-dir=/var/run

	then the socket is created as /var/runcorosync.ipc

	This patch adds the slash into the name generation printf.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1910 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-24  Steven Dake  <sdake@redhat.com>

	Appears to fix compile errors on macosx.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1909 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change strcpy to sprintf to fix compile error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1908 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-24  Jim Meyering  <jim@meyering.net>

	Do not perform arithmetic on "void*" pointers.
	* exec/vsf_ykd.c (ykd_deliver_fn): Do not perform "void*" arithmetic.
	* services/votequorum.c (quorum_deliver_fn): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1907 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid performing 'void *' arithmetic, and add a few const attributes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1906 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 6 warnings
	* services/votequorum.c (objdb_get_int): Make "key" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1905 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 8 warnings
	* exec/totemconfig.c (objdb_get_string): Make "key" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1904 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 9 warnings
	* test/logsysbench.c (bm_finish): Make parameter "const".

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1903 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 13 warnings
	* exec/mainconfig.c (objdb_get_string): Make "key" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1902 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid 22 warnings
	* exec/totemconfig.c (objdb_get_int): Make "key" const.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1901 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid compiler warnings
	* lcr/lcr_ifact.c (lcr_component_register): Remove decl of unused var.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1900 fd59a12c-fef9-0310-b244-a6a79926bd2f

	avoid infloop upon out-of-memory or out-of-semaphores
	* coroipc.c (cslib_service_connect): Upon shmget failure
	loop only when errno == EEXIST.  Any other error now translates
	to res_setup.error.
	Likewise for semget.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1899 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-24  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Make confdb log level consistent with the other services
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1898 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-23  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix expansion order within the Makefile.am with the pleasent effect to avoid to include .lcrso files in make dist target
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1895 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-23  Jim Meyering  <jim@meyering.net>

	autogen.sh: prefer "automake" over automake-1.9
	* autogen.sh: ...and don't accept ancient versions of automake.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1893 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-23  Steven Dake  <sdake@redhat.com>

	Change dist to build corosync-trunk.tar.gz.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1891 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-22  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix pkgconfig list of libraries we provide after ipc rework
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1890 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix 64bit alignment issue in totempg
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1889 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-22  Steven Dake  <sdake@redhat.com>

	Change OPENAIS to COROSYNC in libversions definitions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1888 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change OPENAIS to COROSYNC in ipc ifdefs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1887 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow ipcc library to work on some arches which have different parameter passing requirements for enums.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1886 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Abstracted Shared Memory IPC library
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1885 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-21  Steven Dake  <sdake@redhat.com>

	This patch fixes a crash in cpg.c where a group is left befopre cpg_finalise is called. It can cause the process_info structure to be removed twice from the group list.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1884 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-20  Jim Meyering  <jim@meyering.net>

	avoid buffer overrun when there are more than 128 path entries
	* lcr_ifact.c (PATH_LIST_SIZE): Define.
	(path_list): Use it.
	(ld_library_path_build): Don't store into path_list[path_list_entries]
	if the counter is too large.
	(ldso_path_build): Likewise.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1883 fd59a12c-fef9-0310-b244-a6a79926bd2f

	don't store (and later deref) NULL upon strdup failure
	* lcr_ifact.c (ld_library_path_build, ldso_path_build):
	Handle strdup failure.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1882 fd59a12c-fef9-0310-b244-a6a79926bd2f

	don't segfault upon failed strdup
	* sa-confdb.c (load_config): Handle out-of-memory.

	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1881 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-20  Steven Dake  <sdake@redhat.com>

	Revert last change which broke corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1880 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Reworked not to require stmt-after-decl support, plus another to fix a bug that would arise when parsing more than 128 paths.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1879 fd59a12c-fef9-0310-b244-a6a79926bd2f

	While looking at used of LCRSODIR, I saw an unchecked strdup. That could lead to a NULL dereference.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1878 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-19  Fabio M. Di Nitto  <fdinitto@redhat.com>

	- 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  Steven Dake  <sdake@redhat.com>

	Remove some unnecessary serializer functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1876 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Dont clobber stck on strings with length of zero.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1875 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Don't clobber stack on strings with length of zero.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1874 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Updated TODO for corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1873 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-19  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix corosync.pc installation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1872 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add missing libs from pkgconfig generation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1871 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix logsys SONAME
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1870 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Don't use EXTRA_DIST in install/uninstall
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1869 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-18  Steven Dake  <sdake@redhat.com>

	Serialize access to service engines.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1868 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix coroapi.h header errors.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1867 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-18  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add missing uninstall-local targets and fix configuration intall target
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1866 fd59a12c-fef9-0310-b244-a6a79926bd2f

	More cleanup for distcheck to work
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1865 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-18  Christine Caulfield  <ccaulfie@redhat.com>

	Add a dummy parameter to totemip_iface check so that it compiles on Darwin.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1864 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-18  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix DARWIN_OPTS expansion
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1863 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix more soname= at linking
	Start fixing distcheck

	White space cleanups


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1862 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-17  Fabio M. Di Nitto  <fdinitto@redhat.com>

	- tidy up whitespaces
	- try to keep everything < 80 cols

	- stop installing testing lcrso

	- fix soname= invokation



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1861 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix doc stuff
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1860 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update index.html to reflect new changes in man/Makefile.am
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1859 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Drop tarball name from AC_INIT as it confuses the hell out of what we need
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1858 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix the whole manpage stuff
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1857 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for SOCKETDIR
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1856 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add corosync.pc support
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1855 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove hardcoded /var and use localstatedir instead.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1854 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-16  Fabio M. Di Nitto  <fdinitto@redhat.com>

	configure.ac:  - Fix white space for --help.  - Drop LCRSODIR as global and move it to local directory.
	all */Makefile.am:
	 - export -DDIRECTORY_NAME as required (for now only LCRSO and
	SYSCONFDIR)

	top level Makefile.am:
	- drop hardcoded ETCDIR that is just wrong and use the configured one

	*.c files around:
	- drop hardcoded ETCDIR and use configured one.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1853 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix LCRSO handling
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1852 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make everything < 80 cols
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1851 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove comment
	fix quoting

	make GCC test portable


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1850 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Major configure.in/ac cleanup
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1849 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-13  Fabio M. Di Nitto  <fdinitto@redhat.com>

	- Fix macro typo for PROG_CC_C_O.
	- add --enable-debug configure option to #define DEBUG 1 and set
	compiler options to default to -O0.

	- restore default -O3.

	- Drop some random leftovers (CC_IN_CONFIGURE, AISPREFIX, SSH path check
	and ppc64 -m64).

	- Remove yet another GCC test as -g is automatically detected by
	autoconf macros.

	- Cleanup a bit deprecated ARCH section.

	- Tidy up RESULT section.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1848 fd59a12c-fef9-0310-b244-a6a79926bd2f

	- remove --enable-static option as it is not required. This was a leftover from gcc-2.x something time. corosync binary should always be built dynamic.
	- fix quorum_* target as it was missing the list of objects to be linked
	in.. doh!

	- fix object dependencies between TARGET, TARGET_OBJS and TARGET_SRC.
	This also fixes the build/relink issues at install times that have been
	noted before.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1847 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-12  Steven Dake  <sdake@redhat.com>

	All integers received from objdb_get_int had invalid handle type.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1846 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use nocheck flagging on confchg iteration of handle ids.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1845 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-12  Christine Caulfield  <ccaulfie@redhat.com>

	Fix testconfdb use of object handles.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1844 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-12  Steven Dake  <sdake@redhat.com>

	Set correct OBJECT_PARENT_HANDLE define in coroapi.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1843 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add handle checking to the hdb system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1842 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix several errors in objdb notification handling, hdb_handle_t type conversion errors, indentation, and do hdb_handle_put after instance data is used instead of before.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1841 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use hdb_handle_t for handle type in service.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1840 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use hdb_handle_t for handle type in lcr_ifact.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1839 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-11  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix library linking
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1838 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix more build/install glitches
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1837 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-11  Steven Dake  <sdake@redhat.com>

	Fix broken error check in commit 1818.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1836 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-11  Fabio M. Di Nitto  <fdinitto@redhat.com>

	1) kill all those "for" shell loops. They are dangerous (as they don't report install failures) and it's just overhead since $(INSTALL) can do the same.
	2) make sure to create our directories with $(INSTALL). Not sure I did
	catch them all yet, but at least a good bunch. This also fix the
	corosync.conf install error I introduced in the previous commit.

	3) Handle SONAME automatically. This is the most intrusive change across
	the board:

	 * configure.in now defines the system wide SOMAJOR, SOMINOR, SOMICRO
	and SONAME and exports them to the Makefile.
	 * exec/Makefile.am, lib/Makefile.am are now updated to use those vars
	rather than hardcoded version.

	4) Bump the SOMAJOR to 3 as agreed since we did change both API and ABI.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1835 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Dear pacemaker.. you will not take over this project! MUAHAH
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1834 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Drop ld.conf file that is now unrequired
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1833 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Readd pkgconfig subdir to the build system and port it to autoconf
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1832 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add entries to maintainer-clean target
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1831 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-11  Steven Dake  <sdake@redhat.com>

	Remove warnings from coroipc.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1830 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warnings from ipc.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1829 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Christine Caulfield  <ccaulfie@redhat.com>

	Fix some const warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1828 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add dynamic timestamp on/off
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1827 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Steven Dake  <sdake@redhat.com>

	Remove const warnings in crypto.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1826 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove qualifier errors in main.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1825 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const warnings from uic system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1824 fd59a12c-fef9-0310-b244-a6a79926bd2f

	change some char * to const char * to match usage in system in lcr.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1823 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix const qualifiers in lcr_ifact.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1822 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix missing prototypes in totempg.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1821 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix missing prototypes in totemmrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1820 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix missing prototypes and mismatched prototypes in totemmrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1819 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add missing hdb_handle_put in totemsrp and handle errors in mkdir and chdir properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1818 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove string literal warnings from totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1817 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add missing prototypes in totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1816 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove pointer math warnings from totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1815 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Define undefined prototypes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1814 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove string literal warnings from totemrrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1813 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const warnings from main.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1812 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove type casting to (char *) in logsys.h.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1811 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove pointer math from totempg.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1810 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove pointer math warnings from totemnet.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1809 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const warnings in totemip code.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1808 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Christine Caulfield  <ccaulfie@redhat.com>

	Quorum checks the ring ID is new before initiating a sync. Unfortunately it copies the ring ID BEFORE checking it so there is always a match.
	Sigh

	This patch fixes it.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1807 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Steven Dake  <sdake@redhat.com>

	Remove const warnings relating to logsys global definitions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1806 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove logsys warnings.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1805 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const warnings in totempg.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1804 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const warnings from totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1803 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove qualifier warnings regarding totemrrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1802 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove const/nonconst assignment warnings in totemnet.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1801 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove leftover from automake merge.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1800 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add missing committed file for automake.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1799 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Automake.  The journey begins.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1798 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-10  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add logsys_format_get to logsys API.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1797 fd59a12c-fef9-0310-b244-a6a79926bd2f

	logsys_format_set should use its own internal copy of format_buffer
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1796 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-09  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Cleanup logsys format init around to use default settings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1795 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-06  Christine Caulfield  <ccaulfie@redhat.com>

	The IPC patch broke CFG shutdown in several places, this patches fixes all of them.
	In particular, cfg_try_shutdown asks all applications that are
	registered for callbacks if they approve the shutdown. This caused a bit
	of a re-entrancy problem because it also asked the process that called
	for the shutdown! The patch causes cfg to only ask OTHER applications in
	the assumption that any application that calls
	corosync_cfg_tryshutdown() will approve of the action :-)

	In addition it adds the response to cfg_replyto_shutdown which was
	missing (it couldn't be used with the old system but is mandatory now),
	and removes a double-free in the library finalise code.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1794 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-06  Steven Dake  <sdake@redhat.com>

	Add reserve/release functionality to totem to reserve message queue space.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1793 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-06  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Allow logsys_format_set to reset to default.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1792 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-06  Steven Dake  <sdake@redhat.com>

	Use list_del on process info in the condition that lib_exit_fn is called to prevent segfault from processes later processing that list entry.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1791 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-04  Fabio M. Di Nitto  <fdinitto@redhat.com>

	logsys: re-add support for timestamp that was lost in the upgrade from v1 to v2
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1790 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix logsys_set_format by updating the right bits
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1789 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-03  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix uninitialized memory. Spotted by valgrind
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1788 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-03-03  Steven Dake  <sdake@redhat.com>

	Rework a bit of how lib_exit_fn works so that reference counts may be used in the exit functions for services such as cpg.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1786 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Lock cpg ipc connections into memory on lib_init_fn and remove lock on lib_exit_fn.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1785 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-26  Christine Caulfield  <ccaulfie@redhat.com>

	This patch fixes some minor bugs in the expected_votes behaviour and adds a couple of new features:
	- When total_votes exceeds the expected_votes value then expected_votes
	is increased to that value.

	- A callback can be sent to a client whenever expected_votes is changed



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1784 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The current object database allows duplicate key names per object. This is a bit of a nightmare to manage and provides no useful functionality that I can see. Making keys unique has been discussed on IRC several times and there seem to be no objections...so here is the patch:
	Note that I have removed some now-useless parameters from the objdb API
	too.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1783 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-25  Steven Dake  <sdake@redhat.com>

	Unification around hdb_handle_t data type.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1782 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Send configuration changes to CPG listeners.  (regression in IPC patch).
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1781 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-25  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Install corosync-fplay and corosync-pload binaries
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1780 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-25  Steven Dake  <sdake@redhat.com>

	Fix possible segfault with IPC service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1779 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove extra printf debug.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1778 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-24  Steven Dake  <sdake@redhat.com>

	Remove installation of static libcoroipc.a.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1777 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix problem with 1722 commit which broke ipc.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1776 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-23  Christine Caulfield  <ccaulfie@redhat.com>

	Move VOTEQUORUM_SERVICE to ipc_gen.h where it belongs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1775 fd59a12c-fef9-0310-b244-a6a79926bd2f

	When a quorum device registers it tells the corosync quorum engine of the new quorum which then tries to do a new sync(). But that's no use because the nodelist and ring_id is identical to before. Also it can try and register while a sync is already in operation ... which gets it awfully stuck!
	So this patch makes the sync conditional on there being a new ring ID to
	do a sync on.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1774 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-20  Christine Caulfield  <ccaulfie@redhat.com>

	Fix problem in disallowed mode that prevented a HASSTATE node joining a cluster without state or vice-versa see Red Hat BZ#485026
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1773 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Don't crash if a library tries to talk to a module that is not loaded
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1772 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow CPG messages to be sent on an inquorate cluster
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1771 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-19  Christine Caulfield  <ccaulfie@redhat.com>

	Fix crash in confdb_finalize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1770 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Get rid of one crash in confdb. It still double-frees in confdb_finalize though.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1769 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix crashes in quorum_initialize & votequorum_initialize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1768 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-19  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix build error spotted by gcc-4.4
	#elif with no clause is clearly wrong and continuing when we don't
	know the byte order only defers the problem to a point where its much
	harder to debug



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1767 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-19  Steven Dake  <sdake@redhat.com>

	Whitetank IPC Forward Port.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1766 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-18  Steven Dake  <sdake@redhat.com>

	Remove redundant statement in totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1764 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use definition instead of magic number.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1763 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update link for upstream crypto code.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1762 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-18  Ryan O'Hara  <rohara@redhat.com>

	Add timer_expire_time_get Add timer_expire_time_get corosync API call.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1761 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-14  Ryan O'Hara  <rohara@redhat.com>

	Add timer_time_get to the corosync API.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1760 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-13  Christine Caulfield  <ccaulfie@redhat.com>

	Add corosync_cfg_local_get() call to get the local NodeID in libcfg
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1759 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-12  Ryan O'Hara  <rohara@redhat.com>

	Add TMR_SERVICE to the list of service_types.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1758 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-02-03  Christine Caulfield  <ccaulfie@redhat.com>

	Fix "leave" function where the remaining nodes recalculate quorum when a node leaves. Also add a timeout to the leave flag.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1757 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-30  Fabio M. Di Nitto  <fdinitto@redhat.com>

	fix pkgconfig builddir creation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1756 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add .pc file support for corosync libs
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1755 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-30  Christine Caulfield  <ccaulfie@redhat.com>

	Add quorum_fd_get and votequorum_fd_get prototypes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1754 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make cfg_get_node_addrs return CS_OK rather than 0 when it succeeds.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1753 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-29  Christine Caulfield  <ccaulfie@redhat.com>

	Fix votequorum_getinfo returning the wrong value for expected_votes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1752 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove the last bicapitalised name from cfg
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1751 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-27  Christine Caulfield  <ccaulfie@redhat.com>

	Don't automatically load the quorum service.
	This will, for the time being, unbreak synchronisation.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1750 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-26  Steven Dake  <sdake@redhat.com>

	Fix node masking for 32 bit node ids.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1749 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow crypto to work on systems where unsigned long evaluates to 8 bytes. (s390x).
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1746 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-26  Christine Caulfield  <ccaulfie@redhat.com>

	Add the votequorum service
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1745 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-25  Steven Dake  <sdake@redhat.com>

	Fix error where entire message was not rejected during startup of a new node resulting in partial delivery of a complete message and segfaulting the executive.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1744 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix message rejection problem.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1743 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-23  Fabio M. Di Nitto  <fdinitto@redhat.com>

	cleanup handling of uid/gid config
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1742 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-23  Christine Caulfield  <ccaulfie@redhat.com>

	Fix a couple of memory leaks
	The objdb occurred because object_find_destroy wasn't implemented!
	 
	The one in confdb occurred because object_find_destroy wasn't called if
	object_find_next returned an error the first time it was invoked (ie
	there were no subobjects).



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1741 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-23  Fabio M. Di Nitto  <fdinitto@redhat.com>

	fix logging reload operation and clean up main init
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1740 fd59a12c-fef9-0310-b244-a6a79926bd2f

	don't keep logsys fd open unless it's required
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1739 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-22  Christine Caulfield  <ccaulfie@redhat.com>

	Install quorum.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1738 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-21  Christine Caulfield  <ccaulfie@redhat.com>

	Install quorum library
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1737 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-20  Steven Dake  <sdake@redhat.com>

	Complete poll_stop function.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1735 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cancel token holding mode when a totem token callback is added to the system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1734 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-20  Christine Caulfield  <ccaulfie@redhat.com>

	Add OBJDB_RELOAD_NOTIFY_FAILED which was missing from coroapi
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1733 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-19  Christine Caulfield  <ccaulfie@redhat.com>

	Make all the bicapitalised names in cfg more sensible.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1732 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-16  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Clean up tag handling and provide functions to match name with values and viceversa.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1731 fd59a12c-fef9-0310-b244-a6a79926bd2f

	restore the priority setting that was lost
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1730 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-15  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Remove duplicate code and use the right library call into logsys that also cover cases that were not handled at all.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1729 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix small memory leak on config reload operations
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1728 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-14  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix logsys write to file crash.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1727 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-14  Christine Caulfield  <ccaulfie@redhat.com>

	add corosync_cfg_get_node_addrs() call.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1726 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add some mussing pthread_mutex_lock() calls.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1725 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-08  Christine Caulfield  <ccaulfie@redhat.com>

	Build testquorum on Darwin
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1724 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Don't always overwrite /etc/corosync.conf when make install is run.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1723 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If there was a quorum {} section in corosync.conf but no provider specified then  we would always report inquorate.
	This was wrong, if no provider is specified then we are always quorate.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1722 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-08  Steven Dake  <sdake@redhat.com>

	Patch to allow cpg_membership_get to work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1721 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-07  Angus Salkeld  <asalkeld@redhat.com>

	Fix coverity bug ID 6: FORWARD_NULL
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1720 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-07  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Check against the right var and silence a few warnings at build time
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1719 fd59a12c-fef9-0310-b244-a6a79926bd2f

2009-01-06  Angus Salkeld  <asalkeld@redhat.com>

	Fix coverity bug ID 9: OVERRUN_STATIC
	CID: 9
	Checker: OVERRUN_STATIC (help)
	File: lib/cfg.c
	Function: corosync_cfg_service_unload
	Description: Overrun of static array
	"&(req_lib_cfg_serviceunload).service_name" of size 1024 bytes by
	passing it to a function which indexes it with argument "1023" at byte
	position 4088

	The main problem here is the way the service_name is defined:
	-       char *service_name[256] __attribute__((aligned(8)));
	+       char service_name[256] __attribute__((aligned(8)));



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1718 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-28  Angus Salkeld  <asalkeld@redhat.com>

	Fix coverity bug ID 4: remove unused code & fix compile error
	In evs_dispatch()  the local ignore_dispatch is not used.
	So I have removed this code.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1717 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix coverity bug ID 1: overused local variable
	coverity says that in exec/objdb.c: 1075 the found is always == 1
	therefore the code is dead.  But this is just a case of an overused
	local variable. "found" is used for two different searches.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1716 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix coverity bug ID 7: add NULL pointer check
	Here coverity checks that if in a function a pointer is checked
	for NULL then it is checked through out the function.

	So below I have just add some more checks for NULL.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1715 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix coverity bug ID 5
	In poll_timer_add() if you pass in a NULL for the callback function
	the pointer will be dereferenced.

	I have moved the check for the NULL up.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1714 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-19  Christine Caulfield  <ccaulfie@redhat.com>

	If there is no quorum provider specified, then always return quorate.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1713 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-18  Christine Caulfield  <ccaulfie@redhat.com>

	If we exit with an error, set the returned status code for the shell.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1712 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-17  Angus Salkeld  <asalkeld@redhat.com>

	Don't segfault if the ais group is not found.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1711 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-17  Christine Caulfield  <ccaulfie@redhat.com>

	Add config reload support for logsys
	If objdb is reloaded, then we re-parse the logging options.

	This allows logging options to be changed/enabled/disabled without 
	restarting corosync




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1710 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-12  Christine Caulfield  <ccaulfie@redhat.com>

	This patch adds this capability for a limited number of totem keys using the existing reload mechanism.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1709 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-11  Christine Caulfield  <ccaulfie@redhat.com>

	Install quorum.h file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1708 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-09  Christine Caulfield  <ccaulfie@redhat.com>

	Add another missing file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1707 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add some missing files, sorry
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1706 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-08  Steven Dake  <sdake@redhat.com>

	Patch to fix compilation of macosx and linux in some platform configurations.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1705 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-08  Christine Caulfield  <ccaulfie@redhat.com>

	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-02  Steven Dake  <sdake@redhat.com>

	Fix deadlock in logsys during startup.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1703 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-02  Andrew Beekhof  <abeekhof@redhat.com>

	Correctly compare local addresses with bindnetaddr
	This patch allows whitetank/corosync to behave correctly when the supplied value of bindnetaddr has more precision than the netmask, but is not a full IPv4 address.

	For example, currently, if the netmask is /16 but the user specifies 192.168.1.0, then OpenAIS is unable to determine the correct address and uses the loopback address instead.

	The following patch allows OpenAIS to correctly determine which interface/address to use.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1702 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-12-01  Angus Salkeld  <asalkeld@redhat.com>

	change get node_id() to return an unsigned int
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1701 fd59a12c-fef9-0310-b244-a6a79926bd2f

	depending on your ip address, cpg doesn't always send config changes
	If you ip addresses are larger than 0xffffff then you will never
	get sent group leave notifications.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1700 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-13  Christine Caulfield  <ccaulfie@redhat.com>

	Don't crash if we get a message for a service that isn't loaded.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1699 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make the port numbers into Network Byte Order.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1698 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-12  Angus Salkeld  <asalkeld@redhat.com>

	LINT: fix confd_sa API error.
	remove extra parent_object_handle parameter.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1697 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-11  Angus Salkeld  <asalkeld@redhat.com>

	LINT: fix "Assignment of ssize_t to int" warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1696 fd59a12c-fef9-0310-b244-a6a79926bd2f

	LINT: tweek the lint make rules.
	Makefile.inc: add -unrecog (don't complain about things like strdup().
	tools/Makefile: don't use *.c as it complains about duplicate main() functions
																			  


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1695 fd59a12c-fef9-0310-b244-a6a79926bd2f

	LINT: rename the overlay struct so they are uniq.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1694 fd59a12c-fef9-0310-b244-a6a79926bd2f

	LINT: fix or ignore unchecked return values.
	If we don't care about the return value then typecase the return
	value to void.
	Else do something useful with the return value.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1693 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-10  Steven Dake  <sdake@redhat.com>

	Fix missing message in delivery of messages under certain circumstances.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1692 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix received_flg to contain proper values.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1691 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-07  Angus Salkeld  <asalkeld@redhat.com>

	Add corotype.h and delete saAis.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1690 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-06  Angus Salkeld  <asalkeld@redhat.com>

	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  Steven Dake  <sdake@redhat.com>

	Make width of service 6 bytes instead of 5.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1688 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Null terminate string which resulted in failure of confdb during logging.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1687 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-04  Angus Salkeld  <asalkeld@redhat.com>

	Make lib/ clean up after itself properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1686 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-11-01  Angus Salkeld  <asalkeld@redhat.com>

	fix build error, can't complie if openais not installed.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1685 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add a top level "make lint"
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1684 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-31  Christine Caulfield  <ccaulfie@redhat.com>

	This patch adds two extra features to the CFG service in corosync, these are taken (conceptually at least) from cman.
	1. corosync_cfg_killnode()    this will tell a remote node to exit.
	2. corosync_cfg_tryshutdown() this will do a semi-controlled shutdown in
	that it will consult any interested attached daemons if they are willing
	to let corosync be shut down. If they all agree then the rest of the
	cluster will be informed before the node dies.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1683 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-30  Steven Dake  <sdake@redhat.com>

	performance loading service engine first implementation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1682 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Logsys flight recorder.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1681 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-30  Angus Salkeld  <asalkeld@redhat.com>

	Fix a memory violation in objdb (caught by valgrind)
	If the new length is larger then memory will be overwritten.

	I could make this ">=" but we can save memory if the new size is smaller by using "!=".



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1680 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-27  Christine Caulfield  <ccaulfie@redhat.com>

	Improve the usage message of corosync_objctl.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1679 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Currently if a reload operation fails, any subsystems listening for notifications will get a RELOAD_NOTIFY_START callback but not a RELOAD_NOTIFY_END callback.
	This patch adds a RELOAD_NOTIFY_FAILED callback so that interested
	parties will know when the reload has finished and that it failed.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1678 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-21  Angus Salkeld  <asalkeld@redhat.com>

	remove some new warnings from corosync
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1677 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove unused global debug option from the man page.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1676 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-20  Steven Dake  <sdake@redhat.com>

	Remove unneeded totem_timeout_types global define.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1675 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-13  Christine Caulfield  <ccaulfie@redhat.com>

	This is an initial pass at a top-level quorum system. As it stands, this module doesn't provide quorum itself, merely a framework for setting and querying it. I envisage YKD plugging into this rather than straight into sync() eventually.
	I've plugged this into the sync() routines rather than replacing them so
	that quorum is itself a VSF, rather than a replacement - I'm not sure if
	that is best or not. Opinions are welcome.

	I've added an extra enum member to the service_handler so that we can
	send IPC messages when the cluster isn't quorate. This will default to
	NO (as now) but allows us to query and set quorum when we don't have it
	.. a useful feature !



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1674 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-06  Christine Caulfield  <ccaulfie@redhat.com>

	Add locking around objdb calls so that reloads and writes are atomic.
	Also add a notification callback for reload. Both the start and the stop
	are notified so that the user can decide what to do with the flurry of 
	updates that occur.

	Note than the reload callback notification MUST be registered against
	OBJECT_PARENT_HANDLE. Registering it lower down the hierarchy makes no sense.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1673 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix some compile warnings.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1672 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-10-05  Steven Dake  <sdake@redhat.com>

	Fix CFLAGS and LDFLAGS overrides to work for DEBUG and RELEASE modes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1671 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-09-25  Steven Dake  <sdake@redhat.com>

	Fix makefile error in test directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1669 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-09-23  Steven Dake  <sdake@redhat.com>

	Add evs verify tool and allow Makefile to build in test directory properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1668 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-09-17  Angus Salkeld  <asalkeld@redhat.com>

	Propagate the flow control state between AIS exec and library
	This patch causes the flow control state in the library to be set
	properly when the flow control is turned off (disabled).  Then it can be
	read properly by the flow control apis.
	This also fixes the case where the application is no longer sending
	messages and it has already dispatched all its received messages
	before flow control is disabled.

	Also, CPG response messages with a TRY_AGAIN error did NOT contain
	a valid flow control state value. This meant the library could get
	stuck with flow control enabled (flow control was never enabled
	for the EXEC, so no disable event occurred).
	This case was hit when a new node was joining - sync_in_process()
	resulted in a TRY_AGAIN for error cpg_mcast_joined).

	Also, in message_handler_req_exec_cpg_mcast() the state passed
	back to the library defaulted to disabled for messages received
	from another node (even if flow control was still enabled)
	- this meant if multiple nodes were sending CPG messages,
	  then the library flow control state flip-flopped between
	  enabled and disabled.

	Author: Steven Dake <sdake@redhat.com> &
	        Tim Beale <tim.beale@alliedtelesis.co.nz>




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1667 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for AMF (sync_request)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1666 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If syslog() blocked, node-leave events were incorrectly reported
	In some cases, the syslog() call may block. If this happened, the AIS worker
	thread would block waiting on the syslog() call. However, the worker thread
	is still holding a logsys mutex, which is needed to enqueue any more log
	messages from the other AIS threads. So the main AIS thread blocks waiting
	on the logsys mutex. This can then cause aisexec on other nodes to detect
	the node as leaving the cluster.

	Author: Tim Beale <tim.beale@alliedtelesis.co.nz>


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1665 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-09-16  Fabien Thomas  <fabien.thomas@netasq.com>

	use getifaddrs to enumerate interface on FreeBSD and Darwin (patch from Mathieu Virbel)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1664 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-09-03  Christine Caulfield  <ccaulfie@redhat.com>

	Reinstate key_iter_reset that got removed by mistake in 1660
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1663 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This patch adds key_increment and key_decrement calls to the objdb and confdb subsystems.
	This is useful to provide atomic counters (ag handle numbers) for
	long-running (though not persistent) connections. It's not currently
	possible via confdb to atomically get a new number from objdb due to the
	lack of locking. Doing it via increment operations in the IPC thread
	provides enough atomicity to make it useful. Fabio has already
	identified a use for these calls.

	It could also provide some form of basic co-operative locking mechanism
	for IPC-using processes (not direct objdb calls).



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1662 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-27  Christine Caulfield  <ccaulfie@redhat.com>

	Fix the names of confdb_object_find_destroy and confdb_object_iter_destroy.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1661 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-26  Christine Caulfield  <ccaulfie@redhat.com>

	Remove the disliked *_from calls from the objdb and recast the confdb library to use the new find_create/find_next/find_destroy API calls instead.
	I've kept the libcondfb API the same as before with the single change of
	adding a confdb_object_find_destroy to tidy up the find handle after
	use. If you don't call this then libcondfb will do it for you when
	confdb_finalize is called.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1660 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-20  Angus Salkeld  <asalkeld@redhat.com>

	Zero out unused totemsrp my_proc_list entries
	When making my_proc_list smaller, ensure that the
	now non-used entries are zero-ed out. There are some suspect
	assert's that assume that there is always 2 entries in the list.
	These fail when my_proc_list is reduced to 1 entry (and the
	valid [0] entry is the same as the 'unused' [1] entry).

	Author: Mark Wutzke <mark.wutzke@alliedtelesis.co.nz>



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1659 fd59a12c-fef9-0310-b244-a6a79926bd2f

	aisexec crash on exit
	Cause:
	As part of its exit procedure, ais cancels its worker thread then manually
	processes any outstanding items that were still in the worker thread's queue.
	The worker thread has a low priority so normally it does not execute any
	further before ais finishes exiting, but if the main thread's exiting is
	delayed for any reason, there is a chance the worker thread could execute and
	try to process items which have already been processed and freed by the main
	thread - often leading to the worker thread seeing NULL data and ultimately
	causing a segmentation fault.

	Fix:
	Modified worker_thread_group_exit() so it does a pthread_join() after the
	pthread_cancel() call, so that the worker thread always shuts down cleanly
	before the main thread does its cleanup.

	Author: Author: Mark McKinstry <mark.mckinstry@alliedtelesis.co.nz>




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1658 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix to display strings safely in debug messages.
	Display strings safely, even if they are invalid, e.g. data in a received
	message was corrupted.

	Author: Tim Beale <tim.beale@alliedtelesis.co.nz>



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1657 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Provide a way to configure (at compile time) message and queue sizes.
	This patch makes it possible to override the following #defines:
	MESSAGE_SIZE_MAX
	MESSAGE_QUEUE_MAX
	SIZEQUEUE
	FLOW_CONTROL_ENTRIES_ENABLE

	If MESSAGE_SIZE_MAX is defined as 1024*64 (64K) and
	MESSAGE_QUEUE_MAX defined as 512 you can change corosync's
	memory footprint from ~48M to ~8M

	So if you define MESSAGE_QUEUE_MAX, the queue size will
	not be based on the message size any more.

	To use this define the defines on the command line:
	make CFLAGS="-DMESSAGE_SIZE_MAX=1024*64 -DMESSAGE_QUEUE_MAX=512"



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1656 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix an assert caused by faulty sort-queue management.
	sq.h
	  - sq_items_release(): When clearing the items_inuse array, ensure that
	    all of the memory is cleared. items_inuse is a uint array, not a
	    byte array.

	Author: Mark Wutzke <markw@alliedtelesis.co.nz>



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1655 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-15  Steven Dake  <sdake@redhat.com>

	Repair typo which caused init script not to start corosync daemon.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1649 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make rpmlint pass without warnings.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1648 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Set the override for LCRSODIR properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1647 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Finish the renaming of openais to corosync in the tree.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1646 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-14  Steven Dake  <sdake@redhat.com>

	Fix build breakage.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1645 fd59a12c-fef9-0310-b244-a6a79926bd2f

	New and improved loc command.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1644 fd59a12c-fef9-0310-b244-a6a79926bd2f

	New LOC command.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1643 fd59a12c-fef9-0310-b244-a6a79926bd2f

	turn on executeable bit for loc.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1642 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Install saAis.h header file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1641 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update svn commit scripts so they work properly and have proper permissions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1640 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move QUICKSTART to proper directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1639 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Few man page cleanups and removal of amf.conf.5.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1638 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Revert patch 1633 which breaks build.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1636 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move openais* to corosync* in man pages.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1635 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Build corosync-keygen.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1634 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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  Fabien Thomas  <fabien.thomas@netasq.com>

	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  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Revert config_verifyconf logic that is unnecessary
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1631 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-13  Christine Caulfield  <ccaulfie@redhat.com>

	Change AIS names to corosync
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1630 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-13  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Add support for reload operations within objdb and plugins.
	Use a 2 phase "commit" operation:
	1) Invoke verifyconfig that should catch the errors before the reload operation
	2) Invoke reloadconfig that performs the operation and should _never_ fail

	Implementation note: if step 2 fails, there is no fall back at the moment.

	Fix the IPC table for confdb:
	MESSAGE_REQ_CONFDB_XPATH_EVAL_EXPRESSION = 12 was added to include/ipc_confdb.h
	without an associated call. Thanks Chrissie for spotting this.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1629 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-12  Steven Dake  <sdake@redhat.com>

	Add some totem process group interfaces to the API.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1628 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-12  Fabio M. Di Nitto  <fdinitto@redhat.com>

	objdb: change list_add to list_add_tail when adding keys and objects
	service: change openais_service_unlink_all to deal with the new objdb order

	cleanup a few whitespaces



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1627 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-06  Steven Dake  <sdake@redhat.com>

	Add module load and unload to the exported coroapi.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1626 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-05  Steven Dake  <sdake@redhat.com>

	Add callback notification about changes to the object db and confdb apis.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1625 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-05  Fabio M. Di Nitto  <fdinitto@redhat.com>

	Fix crash in logsys new API
	logsys_config_priority_set lacked a check for logsys_single_id that
	left logsys_subsys_id uninitialized.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1624 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix toplevel Makefile install target
	- objctl is now called corosync-objctl
	- keygen has been renamed corosync-keygen
	- install corosync-cfgtool as part of the standard tools now



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1623 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-05  Steven Dake  <sdake@redhat.com>

	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

	Make mar_name_t an inline function to remove warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1621 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-04  Steven Dake  <sdake@redhat.com>

	Allow msg service test applications to build properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1620 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix errors in lib linking.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1619 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add a missing confdb_key_delete function to the confdb api.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1618 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge Angus's corosync-objctl tool and move cfgtool to a different directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1617 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-08-01  Patrick Caulfield  <pcaulfie@redhat.com>

	Fix the spelling of 'guarantee' in several places.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1616 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-24  Steven Dake  <sdake@redhat.com>

	Final fixup to build all things properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1613 fd59a12c-fef9-0310-b244-a6a79926bd2f

	openais now builds when make install is done from corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1612 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge the object iteration repair patch into corosync so openais services load.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1611 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add files missing from build but in dev repo.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1610 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Building of all service engines now works properly. Install works as well.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1609 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve runtime loading of parser and move versions files to corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1608 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add MESSAGE_SIZE_MAX to coroapi file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1607 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make external service engines (openais) work properly. Also fix up make install.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1606 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Angus to make corosync build for his environment.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1605 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add API definitions file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1604 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge the API definitions of the objdb into the corosync api definition.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1603 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-23  Steven Dake  <sdake@redhat.com>

	The entire tree builds properly and all services have been ported to the new coroapi.h include header.
	The services shipped with corosync are CPG, CFG, CONFDB, and EVS.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1602 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-22  Steven Dake  <sdake@redhat.com>

	Make from top level directory now works.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1601 fd59a12c-fef9-0310-b244-a6a79926bd2f

	API changes and code to make cfg and cpg service operate properly with corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1600 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-21  Steven Dake  <sdake@redhat.com>

	Cause libraries to build.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1599 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Set default services to load.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1598 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add the default corosync parser.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1597 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename AIS parts to Corosync.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1596 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename aispoll to coropoll.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1595 fd59a12c-fef9-0310-b244-a6a79926bd2f

	corosync/exec builds.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1594 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove depends in Makefile.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1593 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial makefile for corosync plugin service engines.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1592 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move services around to service directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1591 fd59a12c-fef9-0310-b244-a6a79926bd2f

	move README.amf into openais directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1590 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove unnecesssary files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1589 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add makefile and loc infrastructure to openais directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1588 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add license file to openais tree.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1587 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move mismove to proper location.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1586 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move test, lib, exec, and include files that are openais specific into openais directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1585 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Put conf directory in openais directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1584 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move test directories and remaining loc files to test directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1583 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Test queue group tracking feature.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1581 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ability to track changes to queue groups in the messaqge service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1580 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-14  Steven Dake  <sdake@redhat.com>

	Allow setting of the logsys priority to one lower then was already specified.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1579 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Revert incorrect patch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1578 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow setting of lower priority which is currently disabled.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1577 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow users of logsys to disable output of logging LOG_LEVEL_DEBUG messages via log_mode_set.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1576 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-11  Patrick Caulfield  <pcaulfie@redhat.com>

	 * Adds documentation for the LOG_MODE_NOSUBSYS mode flag,  * Adds documentation for the LOG_MODE_SHORT_FILELINE mode flag, and  * Fixes (typo) 'declartion' -> 'declaration'
	-- Lon





	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1575 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-11  Steven Dake  <sdake@redhat.com>

	Fix error in a previous logsys patch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1574 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-07  Patrick Caulfield  <pcaulfie@redhat.com>

	Add a missing object_find_reset() call.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1573 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-03  Steven Dake  <sdake@redhat.com>

	Add init/config entry points for those that dont with to use macros in logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1572 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-02  Patrick Caulfield  <pcaulfie@redhat.com>

	Add cpg_groups_get call to libcpg.
	This call causes a complete list of active groups and their
	membership lists to be sent to a callback function.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1571 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-02  Steven Dake  <sdake@redhat.com>

	Add two new modes LOG_MODE_SHORT_FILELINE and LOG_MODE_NOSUBSYS. LOG_MODE_SHORT_FILELINE strips the leading path from the file name in a debug output.  LOG_MODE_NOSUBSYS removes a global variable and provides the ability to set or unset this via config_mode_set.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1570 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-07-01  Patrick Caulfield  <pcaulfie@redhat.com>

	this patch fixes a segfault/crash in confdb_write.
	If the operation is succesful there is no need to set error_string. If error_string is not set, don't try to access it or we crash.

	At the same time perform the same check in libconfdb when we receive the reply.

	Fabio 


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1569 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-06-24  Steven Dake  <sdake@redhat.com>

	Allow syslog priority configurations per subsystem in logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1568 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warnings of unused variables in main.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1566 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow make in the exec directory to work even if root/lcr isn't yet built.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1565 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add #include assert.h to some AMF files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1564 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Forward port of the synchronization engine into trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1563 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix a ton of bugs in totem by forward porting the whitetank totem code into trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1562 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove totemip.h reference from file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1561 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove totemip reference from file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1560 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove totemip.h reference from file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1559 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix unlock_algorithm in lock service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1558 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve the async version of locking library patch from Xinwei Hu.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1557 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Xinwei Hu to clean up test locking program.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1556 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-06-20  Steven Dake  <sdake@redhat.com>

	Allow user to retrieve logsys mode.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1555 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove extra unneeded configuration option from logsys.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1554 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use logsys_facility_id_get to do the string conversion instead of doing it in the openais configuration parser.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1553 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-06-13  Steven Dake  <sdake@redhat.com>

	Message service implemntation - more apis now supported.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1552 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-20  Steven Dake  <sdake@redhat.com>

	Fix linking of other projects against logsys on ppc64.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1550 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove exit when logsys files can't be created.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1549 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-14  Steven Dake  <sdake@redhat.com>

	Fix loading of multiple objects.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1547 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-12  Steven Dake  <sdake@redhat.com>

	Repair invalid commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1545 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ckpt service back in from incorrect patch that was committed found during tesitng of rpm of 0.83-1.fc10.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1544 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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

	Repair loading of external services.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1540 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove executable permission from flow.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1539 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-09  Steven Dake  <sdake@redhat.com>

	Patch to remove segfault on the exiting of a service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1538 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to allow controlled exit of a service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1537 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-07  Patrick Caulfield  <pcaulfie@redhat.com>

	Expose confdb write to the library.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1536 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-06  Patrick Caulfield  <pcaulfie@redhat.com>

	Add LDFLAGS to libconfdb linking
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1535 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-05  Steven Dake  <sdake@redhat.com>

	Execute a test of the makefile system from Angus
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1534 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Apply suggestion from Andrew for srcdir functionality.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1533 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-05-02  Steven Dake  <sdake@redhat.com>

	Allow make from the exec directory.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1532 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-30  Patrick Caulfield  <pcaulfie@redhat.com>

	Allow libconfdb to run standalone (without aisexec)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1531 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add writeback call to objdb
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1530 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-29  Steven Dake  <sdake@redhat.com>

	Fix build error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1529 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-28  Steven Dake  <sdake@redhat.com>

	load and unload service engines at runtime.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1528 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to add new api to logsys to get priority names from subsystem names.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1527 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change initialization order for logsys logging to files to work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1526 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-23  Steven Dake  <sdake@redhat.com>

	Fix building on OSX
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1525 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix syscall usage for keygen application
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1523 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-23  Patrick Caulfield  <pcaulfie@redhat.com>

	Fix logsys_config_priority_set() so that it sets the priority of the local subsystem and not always "MAIN".
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1522 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-22  Steven Dake  <sdake@redhat.com>

	Build on latest glibc.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1520 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-21  Steven Dake  <sdake@redhat.com>

	Patch to reinitialize logsys internal variables after a fork for correct operation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1519 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-17  Patrick Caulfield  <pcaulfie@redhat.com>

	Add man pages for confdb functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1518 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix some typos in the CPG man pages
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1517 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-04-16  Patrick Caulfield  <pcaulfie@redhat.com>

	Add confdb, a library to access the configuration object database.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1516 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix locking in logsys.
	Patch from Fabio M. Di Nitto <fabbione@fabbione.net>


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1515 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-03-10  Patrick Caulfield  <pcaulfie@redhat.com>

	Add some new calls into objdb.
	These allow replacing/removing keys, and deleting a whole object subtree,
	iterator functions to enumerate all objects/keys on an object,
	and a dump call for debugging.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1505 fd59a12c-fef9-0310-b244-a6a79926bd2f

2008-01-08  Steven Dake  <sdake@redhat.com>

	Patch to install liblogsys
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1495 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove closing of ttys that slipped in improperly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1494 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-12-10  Steven Dake  <sdake@redhat.com>

	srcdir is not set when realpath & abspath don't work
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1492 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Force logging to stderr if the -f flag is specified.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1491 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow multiple config plugins to be loaded at start time and set the config object database objects.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1490 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-11-28  Steven Dake  <sdake@redhat.com>

	fix install broken when O=<DIR> is used
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1489 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to make sure make clean works as advertised.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1488 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Properly daemonize and dup file descriptors to /dev/null.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1487 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make sure to unlock the handle database on a failure condition.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1485 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to set system from field properly in retransmitted messages.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1484 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove & when regular reference works properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1483 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to not increment the ring seq id on the first operational ring.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1482 fd59a12c-fef9-0310-b244-a6a79926bd2f

	make install now works properly on systems which produce wierd uname results
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1481 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-10-25  Fabien Thomas  <fabien.thomas@netasq.com>

	add missing objdb for static build
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1476 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-10-22  Steven Dake  <sdake@redhat.com>

	Patch to provide generic init script that is generically useful for most distributions or can be used as a starting point for making a distribution custom init script.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1475 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to close all open files on background run operation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1474 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix missing commit from timer.c in trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1472 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Endian convert downlist messages from cpg.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1470 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-10-16  Fabien Thomas  <fabien.thomas@netasq.com>

	correct ifdef that must be ifndef because under FreeBSD alloca.h is in stdlib.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1468 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-10-10  Patrick Caulfield  <pcaulfie@redhat.com>

	Remove some includes from .h files so they can be installed. Also install flow.h & ipc.h for external services.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1467 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix openais.conf example and man page to match the new logsys directives.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1466 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-10-02  Steven Dake  <sdake@redhat.com>

	Fix problem where adding a timer in a timer callback would lock system and also timer additions were not protected by mutex because of backwards pthread_equal comparison.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1463 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-28  Steven Dake  <sdake@redhat.com>

	segfault does not use source.conn unless the originating request is local. The actual code tries to dereference pointers created on another node.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1462 fd59a12c-fef9-0310-b244-a6a79926bd2f

	lock_algo queues lock requests rather than ignoring them if an exclusive lock is held on a resource. This led to stale processes trying to acquire an exclusive lock forever.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1461 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to fix dependencies in build of test programs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1460 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix linking of library objects.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1459 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-27  Steven Dake  <sdake@redhat.com>

	Allow override of the LCRSO directory from the Makefiles or command line
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1458 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix static libs installation logic inversion
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1457 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile system improvements from Angus Salkeld
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1456 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-20  Patrick Caulfield  <pcaulfie@redhat.com>

	Install logsys.h rather than print.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1454 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-15  Steven Dake  <sdake@redhat.com>

	Fix reference counting in LCR code.  Also fix problem with inability to compile from the exec directory because PREFIX wasn't defined for lcr_ifact.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1451 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow missing spots in the synchronization engine
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1448 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes the following problems: 1) the encapsulated and not encapsulated values for multicast messages are now enumerated instead of magic number. 2) the endian detector is now set for new encapsulated messages intended for transmission.  previously these messages would use whichever endian detector value happened to be in memory which could be a) correct endian b) incorrect endian from another machine byte order message c) junk values. 3) The retransmission flag is not set by default on new originated tokens in the recovery state.  Instead it is set based upon whether the node actually can retransmit any messages. 4) some workaround code was removed that was necessary to make the system work when #3 was incorrect 5) the my_install_seq and my_aru fields are compared based upon a window instead of static comparison because it could be that the my_aru is 0xFFFFFF5 where my_install_seq is 5.  In this case (after a lot of messages are sent) the comparison would return the incorrect result in the recovery phase of the algorithm. 6) The queue chosen for adding messages to the retransmission queue is now set based upon the encapsulated bit rather then the current state of the state machine. 7) the encapsulated bit is set properly in an endian conversion operation for a multicast message header.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1447 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-11  Steven Dake  <sdake@redhat.com>

	Add missing files from the ais utils exporting patch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1445 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-09-09  Steven Dake  <sdake@redhat.com>

	Calculate the default path based on the project value of PREFIX
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1444 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Ensure DESTDIR and PREFIX are properly used in Makefiles
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1443 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Expose utils to the user
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1442 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Now that -l is set correclt yuse #include <header.h> instead of using quotes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1441 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Static libraries become out of date on Darwin once they are copied or moved
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1440 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use makefile loops where possible
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1439 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Provide information as to why a plugin refused to load
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1438 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add extra brackets to clarify scope.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1437 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix build dependencies
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1436 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If iface_ver0_p is not reset, then as long as the first plugin loads then all subsequent plugins will report success.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1435 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Missing stdlib.h from lcr_ifact.c.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1434 fd59a12c-fef9-0310-b244-a6a79926bd2f

	HZ not always defined on all Linux systems.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1433 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to allow CFLAGS and LDFLAGS modifications to take effect
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1432 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Logsys testing system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1431 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes for the logsys system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1430 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The man page for the logsys logging system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1429 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The logsys logging system.  Read logsys_overview.8.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1428 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem srp merge from whitetank
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1427 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to log security warnings when invalid identifier is used in message header for a totem message.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1425 fd59a12c-fef9-0310-b244-a6a79926bd2f

	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-08-24  Steven Dake  <sdake@redhat.com>

	Patch to allocate event dispatch data in saEvtInitialize instead of directly on the stack for small thread-stack sized dispatch functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1421 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-08-11  Steven Dake  <sdake@redhat.com>

	Patch to not overwrite defualt configuration file or amf.conf file when executing make install
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1420 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow make doxygen to work properly
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1418 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to add amf_strdup instead of malloc and then copy for amf service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1417 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-08-08  Steven Dake  <sdake@redhat.com>

	Fix minor leaks caused by not calling pthread_mutex_destroy throughout the tree.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1412 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to fix compile warning on mac platforms.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1411 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-07-02  Steven Dake  <sdake@redhat.com>

	Add the testcpg2 file missing from a previous commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1405 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-07-02  Fabien Thomas  <fabien.thomas@netasq.com>

	remove warnings under Darwin for missing includes and too many parameters in TRACE2
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1404 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-25  Patrick Caulfield  <pcaulfie@redhat.com>

	Clear pid when we leave a process group
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1399 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-25  Steven Dake  <sdake@redhat.com>

	Fix bug where if checkpoint section is expired about the same time as a checkpoint is deleted, a warning would be displayed.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1398 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update testckpt program to properly test checkpoint system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1397 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add cpg_local_get api to cpg service
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1391 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-24  Steven Dake  <sdake@redhat.com>

	Add IP address takeover as an AMF component
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1388 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-23  Steven Dake  <sdake@redhat.com>

	Add passive monitoring support to AMF.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1386 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-14  Patrick Caulfield  <pcaulfie@redhat.com>

	Add man pages for cpg_context_* and fix library exports to include them too.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1385 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-13  Patrick Caulfield  <pcaulfie@redhat.com>

	Install the timer.h file so it can be used by external services and remove a dependency on tlist.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1384 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Currently saLckResourceUnlockAsync leaves the lockid in the handle database even when the lock has been unlocked. This can cause exec crashes if the lock is unlocked twice.
	This patch adds an extra field to the res_lib_lck_resourceunlockasync structure
	so that the library can remove the lock from the handle database when the lock
	is unlocked successfully, as well as code to do it, obviously.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1383 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-12  Fabien Thomas  <fabien.thomas@netasq.com>

	repair BSD/Darwin build by moving HZ constant in tlist.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1381 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-05  Patrick Caulfield  <pcaulfie@redhat.com>

	Cast away a compile warning
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1380 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-06-05  Steven Dake  <sdake@redhat.com>

	Remove this_ip from the source tree and replace with accessor functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1379 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change timers to add duration and absolute timers.  Use nanoseconds since epoch to track timers.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1378 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-31  Patrick Caulfield  <pcaulfie@redhat.com>

	Add get/set context API calls to the cpg service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1377 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-30  Patrick Caulfield  <pcaulfie@redhat.com>

	Don't try and remove a lock from a list if it's not on one, but DO remove it from the resources list when it gets unlocked.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1376 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-22  Steven Dake  <sdake@redhat.com>

	Sanitize the ETCDIR usage in the Makefiles.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1375 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use rync -a when cp -a is not available on MAC OSX platform install
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1374 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-18  Patrick Caulfield  <pcaulfie@redhat.com>

	This patch fixes the marshalling of lock names in libSaLck, they were copied using memcpy, but the alignment of a mar_name_t is not necessarily the same as SaNameT. This patch changes memcpy() to marshall_to_mar_name_t().
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1373 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-17  Steven Dake  <sdake@redhat.com>

	on 32 bit platforms, the message source conn info could have uninitialized values.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1371 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-05-05  Patrick Caulfield  <pcaulfie@redhat.com>

	In trunk, totemip.h and totem.h call for "../include/swab.h" - this works fine when building openais itself but causes problems when installed as those files will not be in the right place.
	So, I've moved these includes out of totemip.h and totem.h and into the .c files
	that call them.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1370 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-04-25  Steven Dake  <sdake@redhat.com>

	Fix section iteration size comparison
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1367 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Print Unknown Time if the time is unknown of an event.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1366 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change tab alignment on checkpoint write operation to match coding style guidelines
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1365 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes problem where if attributes list is zero, library would segfault
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1362 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-04-22  Steven Dake  <sdake@redhat.com>

	change references to evs to cpg to match API
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1361 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-04-21  Steven Dake  <sdake@redhat.com>

	Patch from Angus to fix return code of saAmfResponse if the handle was invalid.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1360 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-03-21  Steven Dake  <sdake@redhat.com>

	Fix documentation errors in cpg service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1358 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-03-14  Steven Dake  <sdake@redhat.com>

	Solaris port patch to fix a few problems from last big patch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1355 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-03-12  Steven Dake  <sdake@redhat.com>

	Patch to allow BSD/Linux systems to compile with latest Solaris porting patch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1354 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-03-06  Steven Dake  <sdake@redhat.com>

	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-01-26  Hans Feldt  <hans.feldt@ericsson.com>

	This patch improves AMF's behaviour for handling component instantiation level. AMF is complemented to handle termination and instantiation with respect to instantiation level also for the following scenarios: - SU restart - termination/instantiation errors during component/SU restart - instantiation error during cluster start up
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1352 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-01-25  Hans Feldt  <hans.feldt@ericsson.com>

	Was writing to random mem using an uninitialized pointer
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1351 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-01-23  Steven Dake  <sdake@redhat.com>

	Display the names of the configuration files used by openais.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1350 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add two notifications about things to avoid to ensure proper operation of the parser.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1349 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes from Zoltan regarding AMF mispellings and type errors.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1348 fd59a12c-fef9-0310-b244-a6a79926bd2f

2007-01-18  Lon Hohberger  <lhh@redhat.com>

	- improves the inclosed dokumentation in amfsu,amfsg and amnode. - improves error handling  caused by the INSTANTIATE or CLEANUP  command   while recovering  with component_restart or su_restart
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1347 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-21  Lon Hohberger  <lhh@redhat.com>

	1 The patch contains mainly updates of the header documentation in the amf_files 2 Correction of the misspelling in lib/cfg.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1346 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-18  Steven Dake  <sdake@redhat.com>

	Fix unaligned access for ia64 arch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1343 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix typo in pthread_mutex_destroy.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1342 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Execute pthread destroy in queue_free in trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1341 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-12  Steven Dake  <sdake@redhat.com>

	Fix mutex leak on various platforms.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1336 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove leak when pthread mutex isn't released
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1335 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix leak by forward porting a change already in whitetank.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1333 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change timing parameters for trunk to something more reasonable for a busy network.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1332 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Convert some spaces to tabs that was already in the whitetank branch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1331 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix leak in uid and gid determination.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1328 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix flow control problem in trunk.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1327 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add rundir patch to /var/lib/openais.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1326 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-12  Patrick Caulfield  <pcaulfie@redhat.com>

	Fix ordering of join messages
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1324 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-11  Lon Hohberger  <lhh@redhat.com>

	Correct not initialized value  of  amf_comp in amf_comp_find_from_conn_info ()
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1322 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This patch contians:
	-  AMF handles a component report of injurious health.

	- AMF handles saAmfHealthcheckConfirm() SA_AIS_ERR_FAILED_OPERATION
	so that if it's a recent recovery ongoing amf does nothing but if it's
	no  immediate recovery in progress, AMF invokes the recovery action
	specified by the component when the health check is started If
	the individual recommendation was SA_AMF_NO_RECOMMENDATION,
	then AMF uses the configured recovery action for the component
	(saAmfCompRecoveryOnError). If this recommendation also is
	SA_AMF_NO_RECOMMENDATION, then AMF makes a component restart or
	component/SU fail over counts on the value of
	saAmfCompDisableRestart and saAmfSUFailover.

	- Handling of cleanup of a component and health check response hardened.


	- Time supervision and check return value of clc-cli CLEANUP command.


	- Handle 'recommended recovery' specified by a component in an error
	report. The potential recovery action to  choose
	implemented is - component restart - and - node fails over.

	- The attribute saAmfCompDisableRestart is now recognizable which means
	that if the component specifies 'Component restart' and restart is
	disabled
	then the SU in which the component is contained shall fall over.

	- The attribute saAmfSUFailover will not be recognized. SU will always
	  fail
	over as a single entity.

	- A component can report an error on another component than itself.


	- Implementation 'Instantiation Level' according to chapter 3.9.2 in the
	AMF specification.
	- Implementation of the escalation levels, component restart, SU
	restart, SU fail over and Node fail over.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1321 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-06  Hans Feldt  <hans.feldt@ericsson.com>

	Corrected amf.c bug that could cause segv
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1320 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-05  Hans Feldt  <hans.feldt@ericsson.com>

	Correction to segv handler Added abort handler
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1318 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-12-04  Hans Feldt  <hans.feldt@ericsson.com>

	- Use of sync_request() in SYNC service - sync_abort() callback implemented
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1317 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-23  Fabien Thomas  <fabien.thomas@netasq.com>

	handle case where POLLHUP or POLLERR are not supported by OS
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1311 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-17  Hans Feldt  <hans.feldt@ericsson.com>

	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-16  Fabien Thomas  <fabien.thomas@netasq.com>

	set default downcheck value to 1000ms
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1309 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove invalid code / warnings detected by Intel compiler
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1308 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-13  Steven Dake  <sdake@redhat.com>

	Print information about when we enter the gather state and what state the membership protocol is in when the token is lost.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1304 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Forward port of IPC code from whitetank branch to fix known defects.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1303 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Flushed printing for trunk branch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1302 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve behavior of IPC flow control for CPG service during configuration changes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1301 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-10  Steven Dake  <sdake@redhat.com>

	Update checkpoint service from all qualifications that have occured in whitetank branch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1299 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Recovery algorithms described in this document.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1298 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-10  Lon Hohberger  <lhh@redhat.com>

	improved cluster_applications_are_starting_sgs
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1297 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-08  Hans Feldt  <hans.feldt@ericsson.com>

	removed compiler warning in amfcomp.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1292 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-08  Lon Hohberger  <lhh@redhat.com>

	This patch contains several corrections concerning SU and Node fail over and some hardening concerning health check handling.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1291 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-07  Patrick Caulfield  <pcaulfie@redhat.com>

	2.6.19 kernel headers do not include IFA_RTA so we provide it. Patch from Fabio Massimo Di Nitto
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1290 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-11-04  Steven Dake  <sdake@redhat.com>

	Forward port of flow control work from whitetank branch.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1289 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Updated readme.devmap file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1287 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-27  Hans Feldt  <hans.feldt@ericsson.com>

	* Improvement of SU fail over to handle remove of those standby assignments  that doesn't directly is associated to the failing over SU's active assignments  in other SU's * Improvement of Node fail over to handle remove of those standby assignments  that doesn't directly is associated to the failing over  Node SU's active assignments  in other SU's.
	* Improvement of SU fail over to handle si assignments to spare SU:s

	* Improvement of Node fail over to handle si assignments to spare SU:s



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1285 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-24  Hans Feldt  <hans.feldt@ericsson.com>

	AMF healthcheck keylen was not compared before matching key values
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1281 fd59a12c-fef9-0310-b244-a6a79926bd2f

	- 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-20  Hans Feldt  <hans.feldt@ericsson.com>

	Changes to testamf1.c to have two healthchecks running at the same time. One of type 'AMF invoked' and one of type 'component invoked'. testamf1.c code got a bit restructured at the same time.
	Changes in amf.conf to complement testamf1 


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1274 fd59a12c-fef9-0310-b244-a6a79926bd2f

	I found some (copy paste I guess) errors in the AMF library. It was the reason for why component invoked healthchecks did not work at all.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1273 fd59a12c-fef9-0310-b244-a6a79926bd2f

	A couple of errors was found when I did unit (component) testing of amf.c using CUnit. With this patch, amf.c can handle a full totem send queue. This is not easily reproducable with function test.
	amf.c is also prepared for further component testing with this patch. 


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1272 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-13  Lon Hohberger  <lhh@redhat.com>

	Patch contains:
	A mechanism to defer and recall simultaneous
	events in the state machines for amf_cluster,
	amf_application and amf_sg.

	The implication of this defer and recall mechanism is
	that it's now possible to to recover from e.g. several
	simultaneous SU failures in an ordered serialized manner.

	The events that could be deferred/recalled so far is
	SG_FAILOVER_NODE_EV,SG_START_EV,SG_FAILOVER_SU_EV,
	CLUSTER_SYNC_READY_EV,APPLICATION_START_EV and
	APPLICATION_ASSIGN_WORKLOAD_EV.

	Files involved:

	Index: exec/amfnode.c
	Index: exec/amfsg.c
	Index: exec/amfutil.c
	Index: exec/amfapp.c
	Index: exec/amfcomp.c
	Index: exec/amfcluster.c
	Index: exec/amf.h



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1266 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-12  Hans Feldt  <hans.feldt@ericsson.com>

	This simple patch solves a problem we see when testing AMF. If a node leaves and joins the cluster quickly (within one second is default), the config change messages will not indicate that the node left and rejoined. The patch introduces a short delay in main() to make sure the token_timeout expires.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1259 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-09  Steven Dake  <sdake@redhat.com>

	Enable commit tokens to be processed properly in all circumstances.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1255 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix subset set operation to work properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1254 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove some debbugging code from totemsrp impacting performance.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1253 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-10-04  Lon Hohberger  <lhh@redhat.com>

	The patch contains:
	 The instantiaton of the component is performed with some new steps:
	 
	 1. SU invoke Comp to instantiate
	 2. Comp multicast a new event 
	 MESSAGE_REQ_EXEC_AMF_COMPONENT_INSTANTIATE
	 3. Comp receive the new  event 
	 MESSAGE_REQ_EXEC_AMF_COMPONENT_INSTANTIATE
	 4. If the Comp is within the SU hosted on the node. The 

	 component invokes

	    the clc_cli instantiate script to start the component 

	 and start a timer

	    to supervise the start and registration of the component.
	 5. If the instantiation time elapse before the component has 
	 registered himself
	    Comp is sending a new multicasted event
	    MESSAGE_REQ_EXEC_AMF_COMPONENT_INSTANTIATE_TMO.
	 6. Comp receive 

	 MESSAGE_REQ_EXEC_AMF_COMPONENT_INSTANTIATE_TMO event.

	 7. The Comp presence state is set to 
	 SA_AMF_PRESENCE_INSTANTIATION_FAILED
	 8. When all Components are in presence state 

	 SA_AMF_PRESENCE_INSTANTIATED or

	    SA_AMF_PRESENCE_INSTANTIATION_FAILED the start or restart will 
	 continue with
	    the assignment of load.
	 
	 This implemntation means that the complete instantiation procedure 
	 never will be endlessly waiting for a register. The 

	 instantiation will 

	 either turn out in a component instantiation failure or a success.
	 
	 
	 Hardening of the cluster start use case:
	 
	 1. A clearer separation of the responsibilities between 

	 amf_cluster and

	    amf_application.
	                      
	 2. A clearer interface and separation between amf_main (amf.c) and 
	 amf_cluster.
	 
	 3. A clearer interface and separation between amf_cluster 

	 and amf_node.

	 
	 4. A clearer separation of the responsibilities between amf_node and
	    amf_application.
	 



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1251 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-29  Hans Feldt  <hans.feldt@ericsson.com>

	The configuration attribute 'saAmfSGNumPrefInserviceSUs' was not considered by AMF during initial start.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1250 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Two configuration attributes for SG objects were not handled correctly by the config parser.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1249 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-28  Hans Feldt  <hans.feldt@ericsson.com>

	Patches from Mathieu.Marie@sun.com: 2- On Solaris, the SA components executed have no names. 3- When killing the testamf1 component, it makes the aisexec process crash on both of my nodes. 4- max priority for RR on solaris is 59.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1247 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-25  Hans Feldt  <hans.feldt@ericsson.com>

	An update of README.amf to match current state of the implementation. README.amf now also includes a detailed list of what is currently NOT implemented.
	README.amf includes now, as before, a "demo example".



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1244 fd59a12c-fef9-0310-b244-a6a79926bd2f

	- Fix for bug: 'default section created when syncing' - Section count synced correctly
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1243 fd59a12c-fef9-0310-b244-a6a79926bd2f

	global_ckpt_id fix #2 ckpt dump function
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1242 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-20  Hans Feldt  <hans.feldt@ericsson.com>

	Correction to a problem when a cluster consisting of several nodes starts initially in an order such that at least two nodes start after at least one node has been started and its SUs has been instantiated.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1241 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-12  Hans Feldt  <hans.feldt@ericsson.com>

	Created
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1240 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-11  Hans Feldt  <hans.feldt@ericsson.com>

	Fix for global_ckpt_id not synced
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1239 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-06  Hans Feldt  <hans.feldt@ericsson.com>

	- ckpt_id was not synced. - debug printout of list reduced
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1238 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-05  Hans Feldt  <hans.feldt@ericsson.com>

	1.    Improvement to manage more than one SG within an Application  and to 	asymmetrically distribute the SG:s among the Nodes. 2.    strcmp bug fixes  several *_find functions. 3.    Minor bug fixes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1237 fd59a12c-fef9-0310-b244-a6a79926bd2f

	- "No need for DNS or /etc/hosts"
	The call to gethostbyaddr() has been removed. This has been replaced by a
	protocol where each node multicasts its hostname (obtained with gethostname()).

	- "Logical AMF nodes"

	The AMF node name is no longer a hostname. The saAmfNodeClmNode
	configuration attribute of the AMF node is now the hostname. This config
	attribute is now mandatory. The change to amf.conf file shows required changes.

	- Some other AMF sync bug fixes



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1236 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-09-01  Hans Feldt  <hans.feldt@ericsson.com>

	Added file and line of caller, useful for troubleshooting.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1235 fd59a12c-fef9-0310-b244-a6a79926bd2f

	- enable the global debug flag again, individual 'logger' directives might   be used to disable a certain logger source. - when DEBUG compiled it does not use the new printer threads (printouts are not buffered) - man page update - openais.conf update
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1234 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-28  Hans Feldt  <hans.feldt@ericsson.com>

	Allow AMF to handle health check responses while syncing.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1233 fd59a12c-fef9-0310-b244-a6a79926bd2f

	1.    Improvement of the use case 'Amf node leave spontaneously' 2.    Improvement of the use case 'Amf node join' 3.    Improvement to manage more than one SG within an Application. 4.    Improvement to manage an arbitrary number of Csi-assignments associated        to the Csi
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1232 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-28  Fabien Thomas  <fabien.thomas@netasq.com>

	add missing clean for libcfg
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1231 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-24  Fabien Thomas  <fabien.thomas@netasq.com>

	correct fd leak on error case
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1229 fd59a12c-fef9-0310-b244-a6a79926bd2f

	correct broken POLLHUP, POLLERR under BSD
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1228 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-24  Hans Feldt  <hans.feldt@ericsson.com>

	AMF sync improvements: change assert to return in mcast rec.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1227 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf1.c improvements
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1226 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-23  Fabien Thomas  <fabien.thomas@netasq.com>

	return SA_AIS_ERR_INVALID_PARAM when vector ptr is NULL or len equal to 0
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1225 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-21  Fabien Thomas  <fabien.thomas@netasq.com>

	doc was not updated when switching command line options to lowercase
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1222 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-18  Fabien Thomas  <fabien.thomas@netasq.com>

	do not include alloca.h under BSD; alloca is in stdlib.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1221 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-17  Hans Feldt  <hans.feldt@ericsson.com>

	AMF sync #2
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1220 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-17  Fabien Thomas  <fabien.thomas@netasq.com>

	add command line support with: launch as a foreground application, do not set priority
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1219 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-16  Steven Dake  <sdake@redhat.com>

	Add scalability to 128 nodes by adding new parameter to protocol which is a random timeout bounded by a configuration parameter when sending join messages.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1214 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Return ERR_TIMEOUT if timeout value is zero in saEvtChannelOpen
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1211 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix make install to install clm shared object files properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1208 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improve recovery code to produce correct printf notice outputs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1207 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix debug output for testckpt service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1206 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-11  Hans Feldt  <hans.feldt@ericsson.com>

	- New sync state machine, implemented and described in amf.c - One AMF node reads the AMF config file (IMM style) - One AMF node syncs others AMF nodes - One AMF object is serialized and sent as one message - Serialization/deserialization of most objects is trivial (memcpy) except for component and csi-attributes objects which have variable size arrays/strings. - Depth first AMF object tree traversal preserves relations when syncing - Ordered lists of SUs and SIs - Constructors/destructor per class - Serializers/deserializers per class - Config-change changes sync state - Sync callbacks executes the sync - "Use case" tracing for sync using the SYNCTRACE macro (trace6) - Sync master is initially the winner of a timeout race and if the master leaves the cluster, the node with the lowest node ID becomes new master. - amf_malloc implements an AMF central malloc routine with error handling.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1200 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-11  Patrick Caulfield  <pcaulfie@redhat.com>

	fixe a bug in cpg where get_group() will return the wrong group info structure if there is a hash collision.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1199 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-08  Steven Dake  <sdake@redhat.com>

	Fix checkpoint header file error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1178 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-05  Steven Dake  <sdake@redhat.com>

	Committed a bunch of changes for testing scalability - reverting patch
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1177 fd59a12c-fef9-0310-b244-a6a79926bd2f

	non-blocking syslog and file logging support
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1176 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Solaris port for openais
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1175 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-03  Steven Dake  <sdake@redhat.com>

	Make sure sync_activate is called only once per service handler.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1174 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-02  Hans Feldt  <hans.feldt@ericsson.com>

	Removes the hardcoded limit of environment variables and argvs from components, now unlimited.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1172 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-08-01  Hans Feldt  <hans.feldt@ericsson.com>

	- Handling of HUP and other poll errors improved in saAmfDispatch. - Termination of testamf1 when saAmfDispatch returns an error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1171 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-29  Steven Dake  <sdake@redhat.com>

	Patch so realloc reverts to old buffer if reallocation fails.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1170 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix lock marshalling.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1169 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-26  Steven Dake  <sdake@redhat.com>

	Endian conversion for evs service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1168 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Endian cleanup for ykd.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1167 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cleanup log_printf to use gnu attributes to do automatic type checking.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1166 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Endian conversion for the lock service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1165 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use memb_ring_id_copy for alignment purposes on 64 aligned arches and keep the port id in host byte order until it is used in the totem protocol stack.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1164 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add endian cleanup fixes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1163 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean up endian swabbing for cpg service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1162 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix where setsockopt is bound to in totemnet.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1161 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cleanup comparisons in lcr_ifact and use strtok_r instead of junky parser.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1160 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add errno.h include since it was removed from swab.h.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1159 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove bunch of unused includes from swab.h.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1158 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix processor count in evs interface.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1157 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Endian cleanup for the clm service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1156 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-24  Steven Dake  <sdake@redhat.com>

	Allow build type of COVERAGE for code coverage analysis
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1152 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-21  Steven Dake  <sdake@redhat.com>

	Ensure make install works with recent libcfg changes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1151 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-21  Patrick Caulfield  <pcaulfie@redhat.com>

	Add a 'family' parameter to totemip_parse so it can be told to look for either IPv4 or IPv6 addresses, or both.
	As we get the (unambiguous) multicast address first, we can make sure we always
	look for the right type of node address afterwards.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1150 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-21  Steven Dake  <sdake@redhat.com>

	Increase IPC thread stack size from 100k to 200k to accomodate larger data structures in ipc message handlers (for the CLM service).
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1149 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove TODO for swabbing conn data structure
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1148 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Validate IO Vector elements in a saCkptCheckpointWrite operation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1147 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove TODO comment that has long been fixed in the code.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1146 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Correct malloc of checkpoint iteration size from 500 bytes to max section id size bytes for the created checkpoint
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1145 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Reduce memory usage in large configurations by dynamically allocating fragmentation assembly buffer.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1144 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove marshall TODO items as they are not needed
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1143 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove unnecessary exit from testevs
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1142 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-20  Steven Dake  <sdake@redhat.com>

	Remove debug printf in totemsrp
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1141 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Don't segfault if unauthorized user connects
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1140 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make checkpoint service work according to specifications with regards to the unlink operation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1139 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-19  Steven Dake  <sdake@redhat.com>

	Remove compile warning from cfgtool commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1138 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for reenabling a failed redundant ring and printing ring status through the test/opeanis-cfgtool application.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1137 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-19  Patrick Caulfield  <pcaulfie@redhat.com>

	Send the new joinlists using the sync service, so it happens atomically. This should fix some odd sequencing bugs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1136 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-18  Patrick Caulfield  <pcaulfie@redhat.com>

	printing ipv6 addresses often needs more than a 32 byte buffer. THis could causes a crash with sone ipv6 installations.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1135 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-18  Steven Dake  <sdake@redhat.com>

	Support for ia64 arch builds.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1133 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-17  Steven Dake  <sdake@redhat.com>

	Fix synchronization not working properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1132 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Event marshalling patch for 32/64/endian support.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1131 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If version field is NULL as passed to saClmInitialize, return INVALID_PARAM
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1130 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If TRACK_CURRENT is specified in CLM service and notify buffer is null, return tracking data in callback as per specification.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1129 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove debug printf in track stop operation
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1128 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Check for invalid handles first in API calls.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1127 fd59a12c-fef9-0310-b244-a6a79926bd2f

	If the max section size is less then the read size, return INVALID_PARAM.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1126 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Return INVALID_PARAM when section read is larger then checkpoint section
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1125 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-16  Steven Dake  <sdake@redhat.com>

	CheckpointRead wasn't checking the active replica was set.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1124 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The creation attributes set bit wasn't set from the library to executive message handlers causing significant problems with open was called from a app.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1123 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The open flags are used before they are verified to be valid.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1122 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-14  Steven Dake  <sdake@redhat.com>

	Proper barrier operation as requested.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1121 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for s390 and s390x architectures.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1120 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-13  Steven Dake  <sdake@redhat.com>

	Fix library renames to 2.0.0 as needed by distros.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1119 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-12  Steven Dake  <sdake@redhat.com>

	Update to checkpoint service to use new APIs as rest of services do.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1118 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-11  Steven Dake  <sdake@redhat.com>

	Fix broken timers when release type set to RELEASE
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1117 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove dead definition of struct queue
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1116 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Missing commit from previous rename of saServiceConnectTwo
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1115 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename saConnectServiceTwo to saConnectService
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1114 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix typo in saMsg.h header file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1113 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rev versions to 2.0 and update versions script for all services
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1112 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-07  Steven Dake  <sdake@redhat.com>

	The member list, joined list, and left list in configuration changes was not valid.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1111 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-07  Fabien Thomas  <fabien.thomas@netasq.com>

	remove commited conflict
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1110 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-07  Patrick Caulfield  <pcaulfie@redhat.com>

	testcpg -i shows node ids as IP addresses.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1109 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-07  Hans Feldt  <hans.feldt@ericsson.com>

	- Error escalation improved, SU failover recovery action added - Most runtime attributes in the inf. model calculated in runtime from   more fundamental information. (improves consistency) - sg_assign_si can now recalculate workloads considering existing   assignments - Logging improvements, similar to what is required as notification in   AMF spec. - CLC-CLI INSTANTIATE now exits aisexec when it fails (should later be   sent as an NTF alarm) - CLC-CLI CLEANUP correctly handles already terminated processes - testamf1.c printouts removed for normal operation - Iterator functions for SI/CSI assignments
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1108 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-07  Steven Dake  <sdake@redhat.com>

	Make sure RELEASE version detaches from tty
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1105 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The testcpg tool now prints IP addresses instead of a hex value indicating the node id.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1103 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The recent endian/32/64 changes broke cpg callbacks.  The left list address was incorrectly calculated.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1102 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-07-06  Steven Dake  <sdake@redhat.com>

	The totem rrp incorrectly increased the wrong failure counter.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1101 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-30  Steven Dake  <sdake@redhat.com>

	marshall of cpg_join name field is wrong.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1100 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rework of the timer system to allow timers to be added in dispatch handlers.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1099 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-29  Steven Dake  <sdake@redhat.com>

	Rewrite of the checkpoint benchmark using threads tool
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1098 fd59a12c-fef9-0310-b244-a6a79926bd2f

	set serialize lock to proper function.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1097 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rework of IPC layer once again
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1096 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-28  Steven Dake  <sdake@redhat.com>

	Fix problem where AMF locks up system if two or more components are members of the same service unit.  Also fixes problem where AMF asserts if two or more components are specified in a service unit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1095 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix 32/64 endian for all services from a previous missed commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1094 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix double free problem in ipc by reworking libais_disconnect to match previous rewritten model in picacho.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1092 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-27  Hans Feldt  <hans.feldt@ericsson.com>

	AMF changes: - Revised cluster start - Includes Steven's "amf invalid write patch" - Includes "components not started with 0.76" patch - New timer API use backed out of AMF (temporary)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1091 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-26  Steven Dake  <sdake@redhat.com>

	Finally remove all references to ais_amf.h and replace with saAmf.h.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1090 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Corrected timer deadlock that occurs when a timer add or delete operation occurs within a timer expiration event.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1089 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Removed ais_amf.h and instead point all refs to saAmf.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1088 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-25  Steven Dake  <sdake@redhat.com>

	Remove dead file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1087 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-23  Steven Dake  <sdake@redhat.com>

	Missed commit of marshall file for some reason.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1086 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make cpg 32/64 userland safe and endian safe.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1085 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-22  Patrick Caulfield  <pcaulfie@redhat.com>

	Fix message alignment in CPG. we now unpack the message in the same way as we pack it.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1084 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-22  Steven Dake  <sdake@redhat.com>

	Change makefile to install swab from correct place
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1081 fd59a12c-fef9-0310-b244-a6a79926bd2f

	New make release in top level makefile
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1077 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-21  Steven Dake  <sdake@redhat.com>

	Modify AMF to use new timer.c/timer.h routines properly
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1076 fd59a12c-fef9-0310-b244-a6a79926bd2f

	32/64/mixed endian support for checkpoint service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1074 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix for early logging from Hans.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1073 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix error where pathlist buffer is overrun resulting in segfault
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1072 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-20  Hans Feldt  <hans.feldt@ericsson.com>

	Refactoring of AMF into several files (based on classed in inf. model). A central header file (amf.h) keeps all the definitions and prototypes needed.
	New things apart from that:
	- some doxygen html generated from AMF e.g. each file has a description
	- saAmfHAStateGet() now works
	- component invoked healthchecks implemented (but not tested)



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1071 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-20  Steven Dake  <sdake@redhat.com>

	Fix off by one error in totemsrp.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1070 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-19  Steven Dake  <sdake@redhat.com>

	Missed timer commit.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1069 fd59a12c-fef9-0310-b244-a6a79926bd2f

	missed commit
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1068 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-16  Steven Dake  <sdake@redhat.com>

	deferred timer system so that timers may be deferred during synchronization.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1067 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix dependencies and install all header files for external service handlers. New defination required to build external service handlers.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1066 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow CFLAGS and LDFLAGS to be overridden through the environment or command line.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1065 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-06-06  Steven Dake  <sdake@redhat.com>

	Remove warnings in AMF executive service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1061 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update TODO file with cluster membership 32/64/endian work being completed.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1060 fd59a12c-fef9-0310-b244-a6a79926bd2f

	32/64/endian everything should work now for openais clm service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1059 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-31  Hans Feldt  <hans.feldt@ericsson.com>

	- (Re-)introduction of event based multicast messages (not all yet) - Use of Distinguished Names (DN) in API and multicast messages - CSI resassignment properly handled (by using restarting state) - State 'setter' functions with uniform printouts - Simple 'assign SU to host' algorithm: 	- based on saAmfSUHostedByNode config attribute 	- see config file for example - Debug print runtime attributes upon user request: 	$ pkill -USR2 aisexec - Object-oriented naming of functions started (but not finished) - testamf1.c updated with some new tests - Minor fix in print.h and print.c - AMF can be started on two nodes (example config file needs   modification for this)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1058 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-29  Steven Dake  <sdake@redhat.com>

	Set to SCHED_RR:1 to match ipc layer
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1057 fd59a12c-fef9-0310-b244-a6a79926bd2f

	sched_setscheduler was passing wrong argument
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1056 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-27  Steven Dake  <sdake@redhat.com>

	Update TODO to match 2006 project priorities.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1055 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This sanitizes the makefiles in several ways * .so and .so.1 files are linked to library.so.1.0.0 and installed with make install * renames all build targets to library.so.1.0.0 from library.so.1.0 * puts ld.so.conf.d files in the correct place * allows not installing static libraries by using make install STATICLIBS=NO
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1054 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This patch checks the result of read operations on a socket which can return errors or 0.  Now if those cases happen, the operation is ignored.  This part of the code needs more attention later to handle short reads.  This removes a warning when fortify source is defined to the compiler.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1053 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This patch does the following things: * changes the default search path for lcrso files to /usr/libexec/lcrso * checks the result of getcwd which can fail and return an error - in that case handle the error appropriately * changes a comment that was incorrectly stating only the cwd was being searched for lcrso files
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1052 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Under load, it was observed that the token could be lost because the totem protocol was not being scheduled above the other I/O processes. This patch reinstalls the sched_setscheduler call which for some reason was commented out.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1051 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-26  Steven Dake  <sdake@redhat.com>

	defect 1270 Fix checkpoint read operation which would return invalid operation in some circumstances.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1050 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove scandir error=%s printf since it spews a bunch of errors when the aisexec is run after a make install
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1049 fd59a12c-fef9-0310-b244-a6a79926bd2f

	sanitize make install in Makefile
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1048 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix segfault if rrp_mode: MODE isn't set in configuration file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1047 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warning about memb_set_print not being used.  This is only useful for debugging.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1046 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove deliver_fn which is not the ipc delivery function handler but the executive multicasted messages delivery function.  This was inadvertantly copied and pasted from main.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1045 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Properly process the ld.so.conf file if it has includes.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1044 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove warning about unsigned/signed passed to strcpy
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1043 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Modified initscript to not start by default on redhat systems
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1042 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Return unsigned char as needed by gcc 4.1
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1041 fd59a12c-fef9-0310-b244-a6a79926bd2f

	code analysis found a memset overwrote a data structure.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1040 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-25  Patrick Caulfield  <pcaulfie@redhat.com>

	Add missing endian conversion to memb_merge_detect
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1039 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-23  Patrick Caulfield  <pcaulfie@redhat.com>

	Remove poinless man-page. bug fix CPG example.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1038 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-22  Steven Dake  <sdake@redhat.com>

	commit for redundant ring take 4 was only done from exec directory missing all of the commits for the rest of the directories.  This commit will now allow the tree to compile.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1035 fd59a12c-fef9-0310-b244-a6a79926bd2f

	First take at doxygen support for openais APIs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1034 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-19  Steven Dake  <sdake@redhat.com>

	Endian fixes for the recent redundant ring protocol work plus the cluster membership API support.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1033 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The redundant ring take 4 patch.  This includes modes for active, passive, and none.  Read openais.conf.5 for information regarding how to configure redundant ring.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1032 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to allow system to work if no ld.so.conf is present.  ld.so.conf is optional and may not be present on a system.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1031 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-19  Patrick Caulfield  <pcaulfie@redhat.com>

	Don't crash if we get an unathenticated connection from a library.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1030 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow the syslog facility type to be set in the configuration file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1029 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-17  Patrick Caulfield  <pcaulfie@redhat.com>

	Move CPG_SERVICE into service_types where it belongs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1028 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Close ld.so.conf file descriptor when finished with it.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1027 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-17  Hans Feldt  <hans.feldt@ericsson.com>

	Introduction of SA Forum information model for AMF as specified in SAI-Overview-B.02.01.pdf. Other AMF changes as specified in SAI-AIS-AMF-B.02.01.
	Summary:

	- SA Forum B.02 Information model for AMF
	- groups.conf renamed to amf.conf
	- amf.conf syntax changed heavily to follow SA Forum specs.
	- AMF works when daemon.
	- linux lists removed from AMF
	- component cmd environment variables support
	- component argv support
	- multi value csi attributes



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1026 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-15  Patrick Caulfield  <pcaulfie@redhat.com>

	getaddrinfo() doesn't actually set errno, it has its own error variable, so returning -errno is not useful (it may be zero even if getaddrinfo failed).
	So, simply return -1 if getaddrinfo fails, to indicate a name resolution
	or badly formed address.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1025 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-11  Steven Dake  <sdake@redhat.com>

	Environment variable cleanup, documentation of environment variables in man pages, and rename of one of the environment variables used to specify the main openais configuration file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1024 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-10  Fabien Thomas  <fabien.thomas@netasq.com>

	fix compile under darwin: sched_setscheduler does not exist
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1023 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-10  Hans Feldt  <hans.feldt@ericsson.com>

	- Preprocessor flags to control user, group and directory for configuration files removed.
	- Environment variables for the same thing added:
		OPENAIS_AISPARSER_FILE
		OPENAIS_AMF_CONFIG_FILE
		OPENAIS_TOTEM_AUTHKEY_FILE

	- Make depend target in exec makefile updated with missing source files.




	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1022 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-03  Hans Feldt  <hans.feldt@ericsson.com>

	- printouts buffered before log_setup() has been called, flushed at early exit. - rests of old logging removed from all code (#define LOG_SERVICE...). - line feed added if not in message. - new trace() function added so that trace macros adds minimum of code and runtime penalties to user code. - ENTER_ARGS macro changed to ENTER. ENTER macro now requires arguments. - openais.conf.5 man page updated with logger directives.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1021 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-05-02  Patrick Caulfield  <pcaulfie@redhat.com>

	Cope with >32 groups on a node that goes down. Add a missing endian conversion.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1020 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-30  Steven Dake  <sdake@redhat.com>

	Fix comile failures for BSD/Darwin port
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1019 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add vsf none option for those that don't want a virtual synchrony filter
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1018 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-28  Steven Dake  <sdake@redhat.com>

	Fix up mutexes to avoid deadlocks
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1017 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-28  Patrick Caulfield  <pcaulfie@redhat.com>

	A misplaced close brace, caused cpg to only return the first node in the list went several went down.
	Also, replaced totemip_equal() calls with nodeid comparisons as CPG works
	entirely on nodeIDs anyway.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1016 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-27  Steven Dake  <sdake@redhat.com>

	Remove prio commented out code
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1015 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add invalid handle definition
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1014 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove priority from aispoll since we now use the kernel scheduler for priorities for polling
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1013 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add IPC files from missing previous commit
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1012 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This patch reworks IPC to use threads instead of the main poll loop
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1011 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix segfault because list was not reinitialized after its entry was deleted and it would later be deleted by closing the ipc. the
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1010 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-26  Hans Feldt  <hans.feldt@ericsson.com>

	test commit, one line amf.c change in clc_cli_cleanup
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1009 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-25  Fabien Thomas  <fabien.thomas@netasq.com>

	Remove warnings under Darwin
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1008 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-25  Steven Dake  <sdake@redhat.com>

	Fix scanning of LCRSOs not working on various systems
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1007 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch to ensure backlogs are never negative which would cause problems with the flow control algorithm and protocol in general.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1006 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow running with BUILD_DYNAMIC set to zero.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1005 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-24  Steven Dake  <sdake@redhat.com>

	Patch from Hans to clean up some error handling in main.c when service handlers do the wrong thing.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1002 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Hans to clean up main error handling a little bit
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1001 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean out private key memory area in case of parser override is used
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1000 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Hans to fix segfault in loading of LCR components
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@999 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-21  Steven Dake  <sdake@redhat.com>

	More make install work to install all necessary files
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@998 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-20  Mark Haverkamp  <markh@osdl.org>

	Updated copyright dates.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@997 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-19  Steven Dake  <sdake@redhat.com>

	Make install now works along with different search paths for openais's lcrsos.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@996 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-18  Steven Dake  <sdake@redhat.com>

	Patch from Hans to significantly improve the logging functionality read openais.conf.5 for info on how the new logging works.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@995 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-16  Steven Dake  <sdake@redhat.com>

	Remove segfault when object database can't be loaded
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@994 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove segfaults when object database can't be loaded for some reason.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@993 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-15  Steven Dake  <sdake@redhat.com>

	remove -DDEBUG from release build
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@992 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1201 cleanup poll_dispatch_delete in trunk
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@991 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove warnings form totemrrp and also fix bug where send_flush wasn't being called for the active replication algorithm
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@990 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove printf on evs join because groups may be binary data and crash executive
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@989 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix warning about unsigned int passed to orf_token_rtr for flow control count
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@988 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix warning regarding unsigned int for node_id
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@987 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix object_priv_get to actually call object_priv_get instead of object_priv_set
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@986 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cleanup warning in service.c because unsigned char * is passed to atoi instead of char *
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@985 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add missing vsf.h from previous commit
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@984 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-14  Steven Dake  <sdake@redhat.com>

	fix fc5 segfault correctly by removing code that violates strict aliasing rules.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@983 fd59a12c-fef9-0310-b244-a6a79926bd2f

	scale part 3 componentize YKD dynamic linear voting algorithm
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@982 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-13  Steven Dake  <sdake@redhat.com>

	Improvement of the rrp_algo data structure to support only running totemnet api calls on the appropriate totemnet interfaces.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@981 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Workaround possible optimizer bug in gcc 4.1 by forcing a function not to inline.  This would cause segfaults on fc4.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@980 fd59a12c-fef9-0310-b244-a6a79926bd2f

	move nodeid from interface section to totem section
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@979 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-10  Patrick Caulfield  <pcaulfie@redhat.com>

	- Fix BUILD_DYNAMIC=0 (add amfconfig.o to SERV_OBJS) - add objdb->object_find_reset() before looking for user/group names.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@978 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Split the logging config options into three keys: to_file, to_stderr & to_syslog
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@977 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-09  Steven Dake  <sdake@redhat.com>

	defect 1191 Add more support for the redundant ring protocol.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@976 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1190 scale to 128 nodes more effectively by dynamically sending partial structures in the commit token ahd memb_join messages.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@975 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1139 reorg of code to better support creating external service handlers
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@972 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1170 another fix for the assertion in memb_recovery_enter
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@971 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-07  Patrick Caulfield  <pcaulfie@redhat.com>

	Use the tmp variable in the right iterator loop ! With debug enabled, that's a guaranteed crash in cpg when a node leaves.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@970 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-06  Patrick Caulfield  <pcaulfie@redhat.com>

	Use objdb for configuration. All components now get a reference to the objdb rather than openais_config.
	The default config object "aisparser" reads openais.conf as before, but can
	be overridden by an environment variable.

	Bug 1132



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@969 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-06  Steven Dake  <sdake@redhat.com>

	defect 1170 remove extra debug exit(1
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@968 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1170 Fix recovery protocol to avoid assertion in memb_state_recovery_enter
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@967 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-04  Steven Dake  <sdake@redhat.com>

	defect 205 implement totem single ring protocol flow control algorithm
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@966 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-04-03  Patrick Caulfield  <pcaulfie@redhat.com>

	Set the object value length too.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@965 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-31  Steven Dake  <sdake@redhat.com>

	Fix typo is clc_cli_script
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@963 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1172 checkpoint service asserts under load during configuration changes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@962 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-31  Fabien Thomas  <fabien.thomas@netasq.com>

	defect 1178: use synchronous lock structure on reply
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@961 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-29  Steven Dake  <sdake@redhat.com>

	defect 1153 Fix segfault with sync service if syncronization is interrupted during recovery.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@960 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-28  Muni Bajpai  <muni.osdl@gmail.com>

	defect 1192 Fixes the issue of ckpt sections getting reordered and also fixes the issue of synchronizing ckpt while under the retention timer.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@959 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-28  Patrick Caulfield  <pcaulfie@redhat.com>

	Call a service's config_init_fn() as soon as it is loaded. Then call exec_init_fn() after other initialisation has happened.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@958 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-27  Steven Dake  <sdake@redhat.com>

	patch from Hans to support amf B types
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@957 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-24  Steven Dake  <sdake@redhat.com>

	enhancement 1145 Patch from Lars to implement csi attribute setting in config file and delivered via callback.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@956 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Hans to fix up the configurable /var/run and /etc/ais directory support.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@955 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-24  Fabien Thomas  <fabien.thomas@netasq.com>

	Bug 1130: add totempg log; remove warnings; add DPRINT macro
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@954 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-23  Steven Dake  <sdake@redhat.com>

	objdb merge add missing service.c file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@953 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-18  Steven Dake  <sdake@redhat.com>

	defect 1139 merge object database and do a general refactor of the code
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@952 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-17  Steven Dake  <sdake@redhat.com>

	Patch from Hans This patch (against r950) makes it possible to change the directory where aisexec searches for configuration files. Pretty much in line with the possibility to specify user and group. Just do:
	make OPENAIS_CONFDIR=/tmp/ais



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@951 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-16  Steven Dake  <sdake@redhat.com>

	Patch from Hans Feldt This small patch (against r948) adds variable CPPFLAGS to all make rules that compiles `.c' files into `.o' files.
	This makes it possible to set CPPFLAGS on the command line as in:

	$ make CPPFLAGS=-DAMFDEBUG

	Editing the makefile when prototyping is then not needed.

	Another reason is that some of the openais C files are built using the 
	implicit rule for C files (which uses CPPFLAGS). The change makes rules 
	consistent with the implicit rule.

	It also adds a few missing files to the clean make target.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@950 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-15  Muni Bajpai  <muni.osdl@gmail.com>

	Fix the innacurate dataSize in the Checkpoint Read response reported by Bjorn.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@949 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-08  Steven Dake  <sdake@redhat.com>

	defect 1113 Checkpoint iteration is totally broken.  This patch makes checkpoint iteration work properly for multiple checkpoint iterators and now is compliant with the specifications for the trunk version.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@948 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1117 binding to localhost doesn't work.  This patch reenables that functionality.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@947 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1120 The AMF code doesn't detect invalid healthcheck keys and crashes when an invalid healthcheck key is specified.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@946 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1116 The IPC code spins in recvmsg in the library resulting in poor performance and deadlock in the AMF service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@945 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-07  Fabien Thomas  <fabien.thomas@netasq.com>

	repair OPENAIS_COVERAGE, OPENAIS_PROFILE
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@944 fd59a12c-fef9-0310-b244-a6a79926bd2f

	use sched_get_priority_max to set the maximum priority
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@943 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-07  Muni Bajpai  <muni.osdl@gmail.com>

	defect 1115 added support for reinitializing synchrony to support ongoing sync during a re-configuration.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@942 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-06  Muni Bajpai  <muni.osdl@gmail.com>

	defect 1115 fix faulty check.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@941 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-06  Patrick Caulfield  <pcaulfie@redhat.com>

	Add man pages for the libcpg functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@940 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix testcpg.c so it actually works.
	in exec/cpg: Don't regard a process as joined until all all nodes have
	             received the message.
	             Don't send other nodes' processes in a joinlist message!


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@939 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-06  Muni Bajpai  <muni.osdl@gmail.com>

	bug 1115. Fixes the synchronization algorithm which was skipping services.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@938 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-05  Muni Bajpai  <muni.osdl@gmail.com>

	Bug Fix for memory leak in ckpt section management. Bug 1112
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@937 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-03  Patrick Caulfield  <pcaulfie@redhat.com>

	Add cpg (closed process groups) component.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@936 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-03  Steven Dake  <sdake@redhat.com>

	defect 981 This patch fixes a problem where the synchronization engine would not work cross endian.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@935 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 981 This patch fixes a problem where ykd would not work cross endian
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@934 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 981 This patch fixes a problem where totempg would not work cross-endian.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@933 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-02  Muni Bajpai  <muni.osdl@gmail.com>

	reverting fix to man page as only 0.72 is broken with last byte zero in bindnetaddress
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@932 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-03-01  Muni Bajpai  <muni.osdl@gmail.com>

	Remove the reference to the use of 0 as last byte in the bindnetaddr
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@931 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-21  Steven Dake  <sdake@redhat.com>

	defect 1099 move "ais" init script to mvlcge add redhat init script from Bjorn
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@927 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fabien's patch for the BSD/Darwin port.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@926 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-15  Steven Dake  <sdake@redhat.com>

	Patch from Patrick This patch restores the functionality in previous versions where the node address could be specified as a network address in openais.conf
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@925 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1049 Patch from Patrick This simple patch stops a potential DoS. If a library tries to access a component that is not loaded into the exec then it will crash trying to deref ais_service_handlers[ service ]
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@924 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-11  Steven Dake  <sdake@redhat.com>

	enhancement 1088 This replaces MSG_DONTWAIT with an fcntl to O_NONBLOCK to be more portable for the BSD port since BSD doesn't support MSG_DONTWAIT properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@923 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 981 big endian and little endian in the same network causes infinite loop.  This patch fixes that problem for the totem layer only.  Other components are not resolved.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@922 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-10  Steven Dake  <sdake@redhat.com>

	Get rid of junk debug statement
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@921 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1088 First patch for porting to BSD systems.  This patch removes the WAITALL flag entirely from the library handlers, as it appears there may be some portability problems with this flag.  The code already handles partial reads anyway, so it was not necessary.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@920 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1066 original 1066 fix introduced new bug found with saftest
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@918 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Some versions of GCC were optimizing out the static ctor section.  This patch makes the ctor non-static so it is not optimized out.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@917 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cleanup of dynamic loading to allow using the same interface factory code for statically linked components.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@916 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-02  Steven Dake  <sdake@redhat.com>

	Patch from Patrick to enable configuring the list of dynamic service handlers in the configuration file.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@915 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-02-01  Steven Dake  <sdake@redhat.com>

	1049 make all service handlers dynamically loadable or compilable statically use the BUILD_DYNAMIC flag in the makefile to set dynamic loading or static compile.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@914 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1066 memory leak in saCkptSectionIterationInitialize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@912 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1065 memory leak in checkpoint iteration when IterationNext has a failure condition (like NO_MORE_SECTIONS)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@910 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1068 bug in saHandleDestroy could cause extra put on handle when the check is invalid
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@909 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-25  Mark Haverkamp  <markh@osdl.org>

	defect 1049 Fix compile error in testlck and testmsg.  Use SA_AIS_OK.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@906 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-25  Steven Dake  <sdake@redhat.com>

	enhancement 1049 enhance services so dynamic service handlers are more easily possible
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@905 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-24  Mark Haverkamp  <markh@osdl.org>

	defect 1048 - make_event uses wrong handle database
	Correct calls to saHandleDestroy to use the correct handle database.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@903 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-24  Steven Dake  <sdake@redhat.com>

	defect 1046 SaErrorT in trunk branch, but only SaAisErrorT should be used
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@902 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-22  Steven Dake  <sdake@redhat.com>

	defect 1045 totempg is not thread safe, and AMF requires threads to instantiate components
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@898 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-20  Steven Dake  <sdake@redhat.com>

	This is a major rework of the service handling code.  Now service handlers can be dynamically loaded via the live component replacement service.  Sync handlers are also dynamically contributed.
	It is possible to build using either dynamic loading via LCR or static
	linking of the entire executive.  This is controlled by the BUILD_DYNAMIC 
	configuration option in the Makefile.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@892 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-16  Steven Dake  <sdake@redhat.com>

	remove old files that are no longer needed.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@891 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-14  Steven Dake  <sdake@redhat.com>

	Small man page cleanup
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@890 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-11  Mark Haverkamp  <markh@osdl.org>

	defect 1030
	Check return pointer from malloc for NULL.  Back out any previous malloc
	to eliminate memory leaks.  Return proper status.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@887 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 1030 This fixes the event handle leak on failure, the malloc check for hl, removes the redundant memset when creating a handle, and makes sure that the put of the channel handle is a valid handle.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@886 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-07  Steven Dake  <sdake@redhat.com>

	defect 1024 YKD algorithm doesn't always work when new_message_queue is full.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@885 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-05  Mark Haverkamp  <markh@osdl.org>

	Fix for bug 1023. Fixes a problem where the dispatcher can lose track of available events if it gets SA_ERR_TRY_AGAIN from the exec.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@883 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-03  Steven Dake  <sdake@redhat.com>

	Add information about the event and amf directive in the openais.conf.5 man page.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@882 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete empty files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@881 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1020 adds missing file from commit
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@880 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1020 Adds AMF B.01.01 support - still needs alot of work
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@879 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1019 Modify YKD to select primary component and execute the synchronization operation only in the main partition.  In the non-primary partition, no new requests are allowed - they are all returned with the error code SA_AIS_ERR_TRY_AGAIN.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@878 fd59a12c-fef9-0310-b244-a6a79926bd2f

2006-01-02  Steven Dake  <sdake@redhat.com>

	defect 1006 on 64 bit platforms, the timer is not properly cleared resulting in segfaults
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@876 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1007 need way to install openais into user selectable directories
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@874 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 1018 Add YKD dynamic voting algorithm to executive code
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@873 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-27  Steven Dake  <sdake@redhat.com>

	defect 999 clm library doesn't exit from poll when executive crashes
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@870 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 989 improve process group membership interface in totem_pg
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@869 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-22  Steven Dake  <sdake@redhat.com>

	lock service locks up under certain conditions this patch fixes that problem from Mark
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@868 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-20  Steven Dake  <sdake@redhat.com>

	defect 993 ckpt-rd.c and ckpt-wr.c in the test directory don't run with the latest code.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@866 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 998 Sometimes the default section isn't synchronized
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@864 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-08  Steven Dake  <sdake@redhat.com>

	defect 982 Fixes ckpt list corruption on failure to allocate checkpoint replica
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@862 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-06  Steven Dake  <sdake@redhat.com>

	defect 988 The totem SRP handle is passed up the entire stack is not needed past certain functions.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@860 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-05  Steven Dake  <sdake@redhat.com>

	fix documentation error from specification which identifies SaLckResourceLockAsync as the function name in some places but saLckResourceLockAsync in other places.  We settled on saLck since it matches the rest of the specifications.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@859 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-12-01  Steven Dake  <sdake@redhat.com>

	shared object name incorrectly set for the lock service to libSaLCK instead of libSaLck.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@858 fd59a12c-fef9-0310-b244-a6a79926bd2f

	fix documentation error from specification which identifies SaLckResourceLockAsync as the function name in some places but saLckResourceLockAsync in other places.  We settled on saLck since it matches the rest of the specifications.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@857 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-30  Steven Dake  <sdake@redhat.com>

	defect 979 This enhancement adds support for IPV6 to the trunk of openais.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@856 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix defect 974 There was an infinite loop problem in the fix for defect 974
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@854 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-25  Steven Dake  <sdake@redhat.com>

	defect 932 This patch adds token sequence number and global sequence number rollover support.  A window is used to ensure comparisons are done properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@852 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-23  Steven Dake  <sdake@redhat.com>

	defect 974 checkpoint service segfaults during synchronization because iteration item is deleted and iteration continues in unsafe fashion.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@850 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 969 processor_count_set is called in the wrong place causing the protocol to fail to receive.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@848 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 968 Heartbeat failure detection man page updates
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@846 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-22  Mark Haverkamp  <markh@osdl.org>

	Fix for Bug 875. Cleans up a channel that actually opened but the library request timed out.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@844 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-18  Steven Dake  <sdake@redhat.com>

	defect 965 Fix synchronization service lockup if the new_message_queue is full
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@842 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 956 fix assertion where new_message_queue is overflowed when a message is pending in the fragmentation queue.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@839 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-18  Mark Haverkamp  <markh@osdl.org>

	Fix for BUG 955. The base event ID needed to be set to one.  event zero was being detected as already delivered and thrown away.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@837 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-11-18  Steven Dake  <sdake@redhat.com>

	defect 968 Improve worst-case failure detection time using active healthchecking
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@836 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-10-27  Steven Dake  <sdake@redhat.com>

	defect 914 fix gcc 4 specific compile warnings and compile errors
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@834 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-10-04  Steven Dake  <sdake@redhat.com>

	defect 909 c++ keywords are used in the internal implementation of list.h
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@832 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-29  Mark Haverkamp  <markh@osdl.org>

	Fix compiler warnings when HZ is defined to be a long. Bugzilla #904
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@830 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-29  Steven Dake  <sdake@redhat.com>

	defect 903 First cut at a distributed locking service.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@829 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-26  Steven Dake  <sdake@redhat.com>

	defect 898 don't need to copy message to fragmentation data buffer if message can be multicasted as is.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@827 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 897 fix new_message_queue can be overwritten
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@825 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-22  Steven Dake  <sdake@redhat.com>

	defect 896 Ruppert reported there was a missing typecast
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@822 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 895 Ruppert reported that there is code that doesn't do anything but should.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@821 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-21  Steven Dake  <sdake@redhat.com>

	reduce maximum message size since 253000 is beyond the max.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@818 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove extraneous debug printf
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@816 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-20  Steven Dake  <sdake@redhat.com>

	defect 892 Fix performance degradation when sending 10-15 messages per second because of a large seqno_unchanged_const.  Also, seqno_unchanged_const does not have a configurable option and this patch adds that support.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@814 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-09-06  Steven Dake  <sdake@redhat.com>

	defect 856 - CHANGES and CHANGES_ONLY have identical effect with saClmClusterTrack()
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@812 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 855 - implement view numbers and report them correctly as per specs
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@811 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 854 - invalid return value displayed in test program
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@810 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-30  Steven Dake  <sdake@redhat.com>

	defect 841 Rabbe reported that cluster track callback operations dont work properly. This patch fixes that problem.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@809 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-29  Steven Dake  <sdake@redhat.com>

	defect 839 The timer interval can be set to less then the platform timing interval.  This could result in negative timer values configured by the user which confuse the totem protocol.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@808 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 828 assert in totemsrp_avail occurs with certain test cases.  The code was rounding down to zero when calculating the number of messages required.  This patch adds one in all cases so no roundoff occurs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@807 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 840 J Seltzer reported that closed checkpoints in the TRY_AGAIN state are not closed in the executive but are closed in the library.  This patch fixes that problem.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@806 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-26  Steven Dake  <sdake@redhat.com>

	defect 837 Muni reported the token retransmission timer doesn't need to be reset when receiving a retransmission
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@805 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 833 Rabbe reported that the encoding of the ipv4 address in SaClmNodeAddressT is incorrect
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@804 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 824: replace network directive with totem directive in default configuration file
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@803 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 823 Typo in openias conf manpage reported by Rabbe
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@802 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-19  Mark Haverkamp  <markh@osdl.org>

	Fix for bug 825. SaEvtChannelClose needed to handle SA_AIS_ERR_TRY_AGAIN so that the eci_closing would be cleared before returning.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@800 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-18  Steven Dake  <sdake@redhat.com>

	This sets the receive and send transmission buffers to a larger size to avoid overruns of the multicast buffer.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@799 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This fixes an off by one in queue_avail which resulted in an assertion during testing.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@798 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-17  Steven Dake  <sdake@redhat.com>

	defect 501 this patch fixes short reads and writes between the library and executive
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@797 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancement 813 Rename ais_types.h header file to be more compliant with sa forum
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@796 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 822 checkpoint synchronization has serious bug after saftest fixups
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@795 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enhancmement 821 Global reorganization of totem code and also many feature enhancments These include: need to specify whether authentication is enabled or dislabed in config file need to specify frame size in config file need redundant ring placeholder need to specify version field of totem need to support large frame sizes need to break out threading code from totemsrp need to break out network code from totemsrp need to break out parser code from parse.c and some others
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@794 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-13  Steven Dake  <sdake@redhat.com>

	Patch from Russell Bryant to fix up gcc 4 warnings
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@793 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-11  Mark Haverkamp  <markh@osdl.org>

	The current event service code will start rejecting received events after 4gig because it thinks that they are duplicates. This update fixes that problem.  Now I am keeping a full 64 bit id for checking for duplicate/re-sends, etc.  separate from the event ID.  I also check that a new event ID is not in use by a retained event.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@792 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-05  Mark Haverkamp  <markh@osdl.org>

	Add a check field to the handle structure to make it less likely to get a random valid handle. Fix a couple bugs in the event service that this change exposed.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@791 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-08-02  Mark Haverkamp  <markh@osdl.org>

	Fix for BUG 803.  We need to complete a library call even if the channel requested for unlink has been deleted previous to processing an unlink request.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@790 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-30  Steven Dake  <sdake@redhat.com>

	fixes segfault when ctrl-c pressed with new totemmrp code
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@789 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-29  Steven Dake  <sdake@redhat.com>

	fixes a missed merge in the totemmrp mergeup
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@788 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix a few compile warnings.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@787 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 796 fix saClmClusterTrack to operate according to specs.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@786 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 793 dont return SA_AIS_ERR_NOT_EXIST when tracking started with SA_TRACK_CURRENT only
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@785 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 792 saClmTrackStop not returning SA_AIS_ERR_NOT_EXIST
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@784 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 790 if sectionDescriptor is null in iteration next call, segfault occurs
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@783 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add infrastructure support for multiring to totem library Make totemsrp support multiple instances of a running protocol within one app. Rename libtotem to libtotem_pg because of a name conflict with some movie player
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@782 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-27  Mark Haverkamp  <markh@osdl.org>

	Move the check of subscription ID in lib_evt_event_subscribe before processing the filters.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@781 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix for bug 776.  Don't require retained events to expire before deleting the channel on unlink.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@780 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-27  Steven Dake  <sdake@redhat.com>

	defect 784 readSize is not properly set after return from checkpoint read operation.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@779 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 785 ckptbenchth is completely broken.  This patch fixes it to operate properly.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@778 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 788 ckptbench returns error 7 at 20000 byte size writes.  The benchmark program improperly creates the checkpoint parameters.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@777 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-27  Mark Haverkamp  <markh@osdl.org>

	Fix for bug 773.  Not quite the full fix, but the best we can do for now.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@776 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix for bug 774.  Check malloc return before accessing pointer.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@775 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix for bug 782.  Receved events may not be modified.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@774 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-26  Steven Dake  <sdake@redhat.com>

	defect 777 fix reference counting bugs in aispoll
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@773 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-25  Mark Haverkamp  <markh@osdl.org>

	Update saEvtEventPublist to return the correct error code when the event data size in too big.  Bug 768.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@772 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-15  Steven Dake  <sdake@redhat.com>

	defect 754 tests dont build because makefile damaged
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@771 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 752 fix reference counting in checkpoint library
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@770 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 751 when ckptSectionIterationNext iterates all sections, SA_AIS_ERR_NO_SECTIONS not being returned.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@769 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 750 in saCkptIterationFinalize if no active replica set, return error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@768 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 749 Make handle put work properly for IterationFinalize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@767 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 748 rename sectioniterator to sectioniteration in executive and library
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@766 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defecct 747 in saCkptSectionIterationInitialize if sectionsChosen invalid, return INVALID_PARAM
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@765 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 746 return INVALID_PARAM in saCkptSectionIterationInitialize if address is NULL
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@764 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 745 in saCkptSectionCreate if initialData == NULL return INVALID_PARAM
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@763 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 744 return SA_AIS_ERR_EXIST in saCkptSectionCreate if maxSections == 1
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@762 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 743 in saCkptCheckpointSectionCreate return SA_AIS_ERR_NO_SPACE if current sections == maxSections
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@761 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 742 error not returned in saCkptSectionCreate if sectionCreationAttributes == NULL
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@760 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 741 saCkptCheckpointOpenAsync doesn't return error when checkpointSize > maxSections * maxSectionsSize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@759 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 740 if open callback isn't set on saCkptCheckpointOpenAsync, return SA_AIS_ERR_INIT
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@758 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 739 saCkptCheckpointOpenAsync callback doesn't return error as per spec
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@757 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-13  Steven Dake  <sdake@redhat.com>

	defect 718 if no active replica is not set do not set expiration time and return error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@756 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 717 if checkpoint is not writeable in durationset, return error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@755 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 716 in durationtimeset if sectionId is null, return error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@754 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 715 synchronize open missing break in dispatch causing checkpointsyncasync callback not to be called.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@753 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 714 if checkpoint doesn't have write permissions in section delete, return error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@752 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 713 if active replica not set in section delete, return error
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@751 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 712 if sectionId is null in sectiondelete, return INVALID_PARAM
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@750 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 711 if no active replica set in checkpoint write, error not returned
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@749 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 710 if ioVector == NULL in checkpoint read error should be returned
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@748 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 709 if synchronize async called, but no callback set, error not returned
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@747 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 708 checkpoint synchronize async call not implemented
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@746 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 707 if checkpoint synchronize executedd with timeout=0, TIMEOUT error not returned
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@745 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 706 replica is not set based upon open flags as per specification
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@744 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 705 if synchronize executed on a checkpoint that was created WR_ALL_REPLICAS return error.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@743 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 704 if checkpoint is opened without read permissions, checkpoint synchronize should return SA_AIS_ERR_ACCESS.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@742 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 703 checkpoint synchronize calls do not check if active replica set
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@741 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 702 checkpoint synchronize missing executive handler
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@740 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 684 return INVALID_PARAM in checkpoint read if dataSize greater then maxSections * maxsectionsSize.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@739 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 683 if active replica not set, checkpointread should return SA_AIS_ERR_NOT_EXIST
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@738 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 682 null iovector caues checkpointRead to segfault
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@737 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 681 if null paramter passed to checkpoint service as iovector element, allocate the io vector element
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@736 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 680 ckptsectionoverwrite should return INVALID if dataSize greater then maxSections * maxSectionsSize
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@735 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 677 SectionOverwrite with null sectionId segfaults
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@734 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 676 sectionoverwrite doesn't return correct error when checkpoint section doesn't exist
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@733 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 675 section overwrite with null dataBuffer parameter locks up
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@732 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 734 cleanup include files and exports from libraries
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@731 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 732 req_amf_componentregister used instead of req_lib_amf_componentregister.  There is no definition for req_amf_componentregister.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@730 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 731 error - saSendReceiveReply instead of error = function
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@729 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-07  Mark Haverkamp  <markh@osdl.org>

	Check for reserved event ID and return SA_AIS_ERR_INVALID_PARAM. Bug 694
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@728 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-07-01  Mark Haverkamp  <markh@osdl.org>

	Wait to return status to the library until the clear request was received over the network so that the publish and receipt of the event is in sync with the time clear request.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@727 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-30  Steven Dake  <sdake@redhat.com>

	defect 673 fix checkpoint unlink not cleaning up checkpoints.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@726 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 502 fix assert when packet added in multicast message handler.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@725 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove some warnings from the compile.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@724 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-30  Mark Haverkamp  <markh@osdl.org>

	Error comparing unsigned to less than zero.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@723 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-29  Steven Dake  <sdake@redhat.com>

	Enables test caes in saftest to pass by returning failure return codes in both callback and return function.  This may have to change later if a later errata changes this functionality.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@722 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 669 token retransmits dont work under heavy load.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@721 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 656 libraries not built with position independent code.  This causes x86_64 not to build.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@720 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 655 invalid checkpoint open flags should return ERR_BAD_FLAGS
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@719 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 654 wrong error code returned when checkpointSize > maxSections * maxSectionsSize in checkpoint open.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@718 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 653 saCkptCheckpointOpen segfaults if null parameter passed in checkpointName
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@717 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 652 saCkptCheckpointOpen segfaults if null parameter passed to checkpointHandle
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@716 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 651 - saCkptCheckpointUnlink segfaults if checkpointName attribute is null
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@715 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 646 - wrong return code in checkpoint open
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@714 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-28  Steven Dake  <sdake@redhat.com>

	Patch from Muni Bajpai to improve synchronization after a merge.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@713 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-27  Mark Haverkamp  <markh@osdl.org>

	saEvtEventAttributesSet needs to check that the priority value passed in is valid.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@712 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-27  Steven Dake  <sdake@redhat.com>

	Patch from Szakacsits Szabolcs to improve error detection in parsing configuration files.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@711 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-24  Mark Haverkamp  <markh@osdl.org>

	The channel open functions need to check for bad flags.
	I set the newly created event elements to the default 
	values in the B spec.



	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@710 fd59a12c-fef9-0310-b244-a6a79926bd2f

	I discovered that our SaAisErrorT is incorrect.  I have included a patch to fix that.  The SA_AIS_ERR_BAD_CHECKPOINT code doesn't exist.  I replaced it with SA_AIS_ERR_BAD_OPERATION.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@709 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-23  Mark Haverkamp  <markh@osdl.org>

	The A spec required patterns to be set but the B spec doesn't.  Fix lib/evt.c and test/testevt.c
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@708 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-22  Mark Haverkamp  <markh@osdl.org>

	This fixes some B spec related parameter checks
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@707 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Some fixes to the event service based on the saftest event tests results.
	The changes may affect applications currently using the event service. 

	1. Timeout value to the saEvtChannelOpen call was updated to use
	SA_TIME_MAX instead of 0 for infinite timeout.

	2. added cleanup in the library to remove associated events when a
	channel is closed, and remove associated channels when finalize is
	called.

	3. Added some new checking args for NULL and returning the correct error
	code.

	4. fixed dispatch to return correct status with SA_DISPATCH_ONE and no
	available poll data.

	5. Makefile had bad dependency for evt library build.


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@706 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-17  Steven Dake  <sdake@mvista.com>

	defect 643 saClmNodeGet timeout parameter of 0 should return SA_AIS_ERR_TIMEOUT
	(Logical change 1.224)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@705 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 643   saClmNodeGet timeout parameter of 0 should return SA_AIS_ERR_TIMEOUT
	BKrev: 42b31c07wymW-ntnqdOvHrTrCDEEhA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@704 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 642 fix segfault when null clusterNode parameter passed to saClusterNodeGet
	(Logical change 1.223)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@703 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 642   fix segfault when null clusterNode parameter passed to saClusterNodeGet
	BKrev: 42b31bd8J6eYpNHnpFWwHWc3waURXw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@702 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 641   NodeGetAsync called with no nodeget callback should return SA_AIS_ERR_INIT
	BKrev: 42b31ba3yncxyr2C6XoRwB_9yMdvRA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@701 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 641 NodeGetAsync called with no nodeget callback should return SA_AIS_ERR_INIT
	(Logical change 1.222)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@700 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 640 fix wrong error code when null version parameter passed to saClmInitialize
	(Logical change 1.221)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@699 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 640   fix wrong error code when null version parameter passed to saClmInitialize
	BKrev: 42b31b73Cok4gPBc42AbPIksg9Rw2w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@698 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 639   fix segfault if null callback parameter passed to saClmInitialize
	BKrev: 42b31b3dnxjnqS8cEzAPHPJmbMdVEw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@697 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 639 fix segfault if null callback parameter passed to saClmInitialize
	(Logical change 1.220)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@696 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 638 fix segfault if clmHandle is null to saClmInitialize
	(Logical change 1.219)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@695 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 638   fix segfault if clmHandle is null to saClmInitialize
	BKrev: 42b31b12gslEYBvbGYQJgGi6uFw8hg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@694 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 637   Fix saClmFinalize will block with threads
	BKrev: 42b31ad2mqut41t3GjnF-5BmQYDkOA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@693 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 637 Fix saClmFinalize will block with threads
	(Logical change 1.218)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@692 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 636 fix saClmDispatch blocks on invalid dispatch flags
	(Logical change 1.217)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@691 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 636   fix saClmDispatch blocks on invalid dispatch flags
	BKrev: 42b31aa7DNo7fwD1STjEtZQflKEaCw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@690 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 635   saClmSelectionObjectGet crashes if selection object pointer is null
	BKrev: 42b31a7e1tftUaCVpz36dDVxSI0wBA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@689 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 635 saClmSelectionObjectGet crashes if selection object pointer is null
	(Logical change 1.216)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@688 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 634 saCkptDispatch blocks if invalid dispatch flag is set
	(Logical change 1.215)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@687 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 634   saCkptDispatch blocks if invalid dispatch flag is set
	BKrev: 42b31a459dDwB00enI3nSeayQwFODA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@686 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 633 saCkptInitialize crashes if callbacks parameter is null
	(Logical change 1.214)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@685 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 633   saCkptInitialize crashes if callbacks parameter is null
	BKrev: 42b31a19Ti58H5PxsI2NaDivhyz-fQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@684 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   Fix segfault when address of checkpoint handle is null to the initialize function
	BKrev: 42b319e8cJKg9zY0XT9um2oqVst5Ug


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@683 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix segfault when address of checkpoint handle is null to the initialize function
	(Logical change 1.213)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@682 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 631   Fix segfault if null pointer passed to selection object address of   saCkptSelectionObjectGet
	BKrev: 42b319acUTulJHw99ALuUlMGTcgL1g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@681 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 631 Fix segfault if null pointer passed to selection object address of saCkptSelectionObjectGet
	(Logical change 1.212)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@680 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 630   if a checkpoint is unlinked then opened it should return   SA_AIS_ERR_NOT_EXIST
	BKrev: 42b31972GC0d7zd0Xw4yt4RcQrxcCg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@679 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 630 if a checkpoint is unlinked then opened it should return SA_AIS_ERR_NOT_EXIST
	(Logical change 1.211)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@678 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 629   Return error if checkpoint has been unlinked on retentation duration set
	BKrev: 42b3192dcHnUOXNAKirryjp4WHDl9g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@677 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 629 Return error if checkpoint has been unlinked on retentation duration set
	(Logical change 1.210)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@676 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 628 saCkptCheckpointStatusGet test case 13 from saftest fails
	(Logical change 1.209)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@675 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c, ckpt.h:   defect 628   saCkptCheckpointStatusGet test case 13 from saftest fails
	BKrev: 42b318f7gBulPAY6sscL0tMMMi9jMw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@674 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile, ckpt.c:   defect 627   Fix API crash when second parameter of saCkptCheckpointStatusGet is null
	BKrev: 42b318bd2NjZ6GGEcjf0mUQr9yL1EA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@673 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 627 Fix API crash when second parameter of saCkptCheckpointStatusGet is null
	(Logical change 1.208)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@672 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 611 add some manual pages to openais
	(Logical change 1.207)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@671 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 577 Implement token holding mode
	(Logical change 1.207)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@670 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile, index.html:   defect 611   add some manual pages to openais openais_overview.8, openais.conf.5:   new file Many files:   defect 577   Implement token holding mode
	BKrev: 42b31834M2cICKgskYf4EnywBr9Fiw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@669 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.207)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@668 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@667 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-15  Mark Haverkamp  <markh@osdl.org>

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/06/15 14:09:09-07:00 osdl.net!markh
	Fix version handling code to be B spec compliant.
	BUG 623.

	BKrev: 42b09916lexB-dFgQMudnN6k_mmmkw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@666 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix version handling code to be B spec compliant. BUG 623.
	(Logical change 1.206)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@665 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2005/06/15 14:09:08-07:00 osdl.net!markh
	Fix version handling code to be B spec compliant.
	BUG 623.

	(Logical change 1.206)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@664 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move the closing of file descriptors from the destructor to the finalize function.  This allows threads waiting on poll to wake up and release handle references.
	BKrev: 42b097dceYknwQw6iUHoWmtoiZRCAQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@663 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Move the closing of file descriptors from the destructor to the finalize function.  This allows threads waiting on poll to wake up and release handle references.
	(Logical change 1.205)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@662 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-13  Mark Haverkamp  <markh@osdl.org>

	Fixes to patterns and filters for B API spec support.
	(Logical change 1.204)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@661 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes to patterns and filters for B API spec support.
	BKrev: 42ade79b0MPjVuydg8XjvOCQs9MTkw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@660 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-07  Steven Dake  <sdake@mvista.com>

	totempg.c:   defect 604   report fragmentation messages missing.
	BKrev: 42a61064-RatmX2Oh0W-yAQkVrhuLA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@659 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 604 report fragmentation messages missing.
	(Logical change 1.203)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@658 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-06-06  Steven Dake  <sdake@mvista.com>

	defect 600 Qian Zhang reported defect 599 which was a missing pthread_mutex_unlock.  Patch attached to fix it.
	(Logical change 1.202)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@657 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.202)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@656 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 600   Qian Zhang reported defect 599 which was a missing   pthread_mutex_unlock.  Patch attached to fix it.
	BKrev: 42a4b379jtJP5rnRmyVL92o1PyIDDw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@655 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   defect 599   Qian Zhang reported defect 599 which was a missing   pthread_mutex_unlock.  Patch attached to fix it.
	BKrev: 42a4b337flt6FdzG6hqwbxOqSyl59w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@654 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 599 Qian Zhang reported defect 599 which was a missing pthread_mutex_unlock.  Patch attached to fix it.
	(Logical change 1.201)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@653 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ipc_ckpt.h, testckpt.c, ckptbench.c, util.c, ckpt.c:   defect 595   There are various bugs with saCkptCheckpointOpenAsync that result in it   crashing the executive, library, or just failing the saftest conformance   suite.
	BKrev: 42a4afd8Fg5CFXDzyZ_v5qo_ad-Guw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@652 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 595 There are various bugs with saCkptCheckpointOpenAsync that result in it crashing the executive, library, or just failing the saftest conformance suite..
	(Logical change 1.200)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@651 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 595 There are various bugs with saCkptCheckpointOpenAsync that result in it crashing the executive, library, or just failing the saftest conformance suite.
	(Logical change 1.200)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@650 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   The selection object get in sync with openAsync doesn't work.
	BKrev: 42a4ae24bww-nX_J3YlTL9lMO3KZvQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@649 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The selection object get in sync with openAsync doesn't work.
	(Logical change 1.199)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@648 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c, ipc_ckpt.h:   defect 592   If ActiveReplicaSet is called, the correct return values are not   returned, causing failures in the saf test suite.
	BKrev: 42a4ade8M7A9p_GJDKQGsWWbJxc41w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@647 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 592 If ActiveReplicaSet is called, the correct return values are not returned, causing failures in the saf test suite.
	(Logical change 1.198)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@646 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 591 If checkpoint open is called, but checkpoint close isn't called before saCkptFinalize is called, the reference count of the checkpoints gets out of kilter.
	(Logical change 1.197)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@645 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect 591   If checkpoint open is called, but checkpoint close isn't called before   saCkptFinalize is called, the reference count of the checkpoints gets   out of kilter.
	BKrev: 42a4ada5nUMOYQy74W2MQ1eTlNNC0g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@644 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-05-27  Steven Dake  <sdake@mvista.com>

	(Logical change 1.196)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@643 fd59a12c-fef9-0310-b244-a6a79926bd2f

	adds evs_membership_get api
	(Logical change 1.196)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@642 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Many files:   adds evs_membership_get api evs_membership_get.3:   new file
	BKrev: 42964fab28riN6pUGbG3uqbjbAjKcA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@641 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@640 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-05-27  Mark Haverkamp  <markh@osdl.org>

	Allow services to use the openais.conf file for setting custom options. Evt now allows the maximum delivery queue size and the resume size to be set in openais.conf
	(Logical change 1.195)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@639 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow services to use the openais.conf file for setting custom options. Evt now allows the maximum delivery queue size and the resume size to be set in openais.conf
	BKrev: 42964b6eDjhuwHSUD_2OVfOPwqZf3w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@638 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow services to use the openais.conf file for setting custom options.
	(Logical change 1.195)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@637 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-05-25  Miyotaka Sakai  <sakai@unknown.org>

	Failover doesn't happen when CTL-Z and process kill
	(Logical change 1.194)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@636 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-05-25  Mark Haverkamp  <markh@osdl.org>

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/05/18 01:03:02+09:00 sakai!sakai
	amf.c:
	  Failover doesn't happen when CTL-Z and process kill

	BKrev: 4294e4525GqfTV54xRLGWs-383Stsg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@635 fd59a12c-fef9-0310-b244-a6a79926bd2f

	More updates to make event conform to B spec.
	BKrev: 4294e431odUeu4s7HWbqMRrsByv4rQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@634 fd59a12c-fef9-0310-b244-a6a79926bd2f

	More updates to make event conform to B spec.
	(Logical change 1.193)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@633 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix memory leak.
	BKrev: 4294e345EM8L82mcgFGtNXNOOrANVg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@632 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix memory leak.
	(Logical change 1.192)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@631 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-05-04  Mark Haverkamp  <markh@osdl.org>

	Added a description of the timeout section of openais.conf
	(Logical change 1.191)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@630 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for user specified timeouts from openais.conf
	BKrev: 427901a7TTHofqEBWm_tyZgxLVSn8g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@629 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for user specified timeouts from openais.conf
	(Logical change 1.191)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@628 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-29  Steven Dake  <sdake@mvista.com>

	defect 529 dont ignore commit token which was causing strange semantics.
	(Logical change 1.190)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@627 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   defect 529   dont ignore commit token which was causing strange semantics.
	BKrev: 4272a2cfQng6C3XBRPdeo8GZx7KIlQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@626 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-22  Steven Dake  <sdake@mvista.com>

	Many files:   defect 512 - some ais header file defines are wrong.
	BKrev: 4269467fUqljxZ1cZm7rYtXJgozkZQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@625 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 512 - some ais header file defines are wrong.
	(Logical change 1.189)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@624 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   defect 498 - reduce network traffic from merge detection
	BKrev: 42694604csBxR35HgvFh1cX-WdsjPw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@623 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 498 - reduce network traffic from merge detection
	(Logical change 1.188)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@622 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-21  Steven Dake  <sdake@mvista.com>

	testckpt.c, ckpt.c, ipc_ckpt.h:   defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working
	BKrev: 4267f1b1iKpaZFwASGi0Hpg6NPVlvA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@621 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 323 - defect 410 - CheckpointOpenAsync and Dispatch not working
	(Logical change 1.187)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@620 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 505 - fix uncompilable with gcc 2.95
	(Logical change 1.186)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@619 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt-wr.c, evt.c, ckpt.c, amf.c:   defect 505 - fix uncompilable with gcc 2.95
	BKrev: 4266fa7e2AAxpdYH2FJH4NEZ75Hc9w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@618 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-21  Mark Haverkamp  <markh@osdl.org>

	Defect 501.
	Fix some mutex and error return problems.

	(Logical change 1.185)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@617 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Defect 501.
	Fix some mutex and error return problems.

	BKrev: 4266d40eIENsfJQEvDM6MjMDhFcqLA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@616 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-20  Mark Haverkamp  <markh@osdl.org>

	For defect 501. Fix possible stale pointers in async lists if an application disconnects before its command has been fully processed.
	(Logical change 1.184)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@615 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/04/20 14:43:05-07:00 osdl.net!markh
	For defect 501.
	Fix possible stale pointers in async lists if an application
	disconnects before its command has been fully processed.

	BKrev: 4266cda65e-fXv0kW4Qe-4Fr4Sbrww


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@614 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-18  Steven Dake  <sdake@mvista.com>

	evs.c:   defect 42 - evs service doesn't send config change on evs_initialize
	BKrev: 4264263fzzgV2yL8rAEqgs69wjGnZA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@613 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 42 - evs service doesn't send config change on evs_initialize
	(Logical change 1.183)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@612 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Fix assert when recovery fails and messages are accepted in the gather state.
	BKrev: 42641035MxBKYwCZ1zOkFr_h-WES3Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@611 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix assert when recovery fails and messages are accepted in the gather state.
	(Logical change 1.182)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@610 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-16  Steven Dake  <sdake@mvista.com>

	totemsrp.c:   Fixes a condition which would result in a proc set and failed set   being equal which would force the algorithm to never reach   consensus in the membership algorithm.
	BKrev: 42604e9fCBYactncuQuguPZ_IEfQsQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@609 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes a condition which would result in a proc set and failed set being equal which would force the algorithm to never reach consensus in the membership algorithm.
	(Logical change 1.181)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@608 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totem packet size changed from 1408 to 1404 because a field was added to the mcast header.
	(Logical change 1.180)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@607 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add some sort queue functions.
	(Logical change 1.180)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@606 fd59a12c-fef9-0310-b244-a6a79926bd2f

	turn off random dropping of packets by default.
	2005/04/15 16:27:14-07:00 mvista.com!sdake
	Major fixes to the recovery phase of the totem protocol.  The
	remainder of the protocol remains unchanged.
	The protocol now properly adds the right messages to the right
	queues during recovery.  The protocol properly handles failures
	in the recovery state.

	(Logical change 1.180)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@605 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   turn off random dropping of packets by default. totemsrp.h:   totem packet size changed from 1408 to 1404 because a field was   added to the mcast header. sq.h:   add some sort queue functions. totemsrp.c:   Major fixes to the recovery phase of the totem protocol.  The   remainder of the protocol remains unchanged.   The protocol now properly adds the right messages to the right   queues during recovery.  The protocol properly handles failures   in the recovery state. totempg.c:   add an assert to catch a weird case.
	BKrev: 42604e5bSfwCdUnySrgU1nlV7yDYNQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@604 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add an assert to catch a weird case.
	(Logical change 1.180)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@603 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-15  Steven Dake  <sdake@mvista.com>

	crypto.c:   autodetect endian and wordsize with gnuisms
	BKrev: 42602efdZ8LfQwIHBFrdtsjrK3BtCg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@602 fd59a12c-fef9-0310-b244-a6a79926bd2f

	autodetect endian and wordsize with gnuisms
	(Logical change 1.179)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@601 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evs.c:   fix defect 477 - header size calculated incorrectly results in assert
	BKrev: 42602cf5j6Zi2RZtyz9xB83lZW9R6g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@600 fd59a12c-fef9-0310-b244-a6a79926bd2f

	fix defect 477 - header size calculated incorrectly results in assert
	(Logical change 1.178)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@599 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/04/15 13:48:35-07:00 mvista.com!sdake
	Makefile, util.h, util.c, evt.c, evs.c, clm.c, ckpt.c, amf.c:
	  defect 188 missed initial checkin

	BKrev: 426028b9DQDC6BgUEBBsQmVJmhyxOg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@598 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 188 missed initial checkin
	(Logical change 1.177)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@597 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-15  Mark Haverkamp  <markh@osdl.org>

	Test updates to handle SA_AIS_ERR_TRY_AGAIN return codes.
	(Logical change 1.176)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@596 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/04/15 13:01:00-07:00 osdl.net!markh
	Test updates to handle SA_AIS_ERR_TRY_AGAIN return codes.

	BKrev: 42601e9aBWGIREypBcTjO5NC8bK8uA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@595 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-15  Steven Dake  <sdake@mvista.com>

	defect 188 - use two fds instead of one fd for I/Os to executive
	(Logical change 1.175)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@594 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Many files:   defect 188 - use two fds instead of one fd for I/Os to executive testevsth.c:   test evs threading
	BKrev: 42601124xiPxCobiccGpS7CZ62Ol7w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@593 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.175)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@592 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@591 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 478 - remove extra parameter to config change.
	(Logical change 1.174)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@590 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Many files:   defect 478 - remove extra parameter to config change.
	BKrev: 42600ff6Tg7hfUjwYnckeK8uBxBGrg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@589 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-11  Steven Dake  <sdake@mvista.com>

	Fix defect 456 when checkpoint expirse, the executive crashes if no bind address was specified
	(Logical change 1.173)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@588 fd59a12c-fef9-0310-b244-a6a79926bd2f

	main.c:   Fix defect 456   when checkpoint expirse, the executive crashes if no bind address was specified
	BKrev: 425aed2d6P3dBt_7UO1Cv6d5kt4haQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@587 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add default section to testcase
	(Logical change 1.172)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@586 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add default section to testcase.
	(Logical change 1.172)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@585 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add default section support to checkpoints.
	(Logical change 1.172)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@584 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.172)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@583 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testckpt.c, ckpt-rd.c, ckpt-wr:   add default section to testcase. ckpt.c:   Add default section support to checkpoints.
	BKrev: 425aeb47Mb_N8HKGtX_BdmRGaLP-Jg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@582 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-08  Steven Dake  <sdake@mvista.com>

	ckpt.c:   Patch from Muni and Mark to properly calculate the header size   field so that the totem delivery assertion doesn't assert when   using ckpt services.
	BKrev: 4256f3d0FFsh6CwpsXs-w4_225C4Wg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@581 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Muni and Mark to properly calculate the header size field so that the totem delivery assertion doesn't assert when using ckpt services.
	(Logical change 1.171)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@580 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-06  Mark Haverkamp  <markh@osdl.org>

	Make sure that the message count in the message matches the actual length of the message.
	BKrev: 42543a7aj_fChUtiZ_ZWH0wdZ6JN3Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@579 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make sure that the message count in the message matches the actual length of the message.
	(Logical change 1.170)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@578 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-05  Mark Haverkamp  <markh@osdl.org>

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/04/05 08:56:39-07:00 osdl.net!markh
	Replace assert with a return.  This will allow the custer to continue
	to run.  This happens when a joining node receives a message from a node
	that it doesn't know about yet.  This is a temporary fix for now.

	BKrev: 4252b541e1CWSNFoD816nTIzzKKPDg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@577 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Replace assert with a return.  This will allow the custer to continue to run.  This happens when a joining node receives a message from a node that it doesn't know about yet.  This is a temporary fix for now.
	(Logical change 1.169)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@576 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-05  Steven Dake  <sdake@mvista.com>

	Patch from Miyotaka Sakai to fix access to free area defect 426.
	(Logical change 1.168)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@575 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Patch from Miyotaka Sakai to fix access to free area defect 426.
	BKrev: 4251ef0dubnPmmnqD-elKTQ_vgpq9Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@574 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-04-01  Steven Dake  <sdake@mvista.com>

	change around this_ip to better support ifup/ifdown
	(Logical change 1.167)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@573 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add some support functions relating to this_ip
	(Logical change 1.167)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@572 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add ifup/ifdown binding to totem single ring protocol
	(Logical change 1.167)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@571 fd59a12c-fef9-0310-b244-a6a79926bd2f

	minor improvements to the ckpt tests
	(Logical change 1.167)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@570 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testckpt.c:   minor improvements to the ckpt tests totemsrp.h, totemsrp.c:   add ifup/ifdown binding to totem single ring protocol main.h, main.c:   add some support functions relating to this_ip clm.c, ckpt.c, amf.c:   change around this_ip to better support ifup/ifdown
	BKrev: 424dbb0bUeDXpnbGn8TxJlPYWRvT6A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@569 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-31  Miyotaka Sakai  <sakai@unknown.org>

	fix not to transit state when process terminate
	(Logical change 1.166)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@568 fd59a12c-fef9-0310-b244-a6a79926bd2f

	amf.c:   fix not to transit state when process terminate
	BKrev: 424b286648uPUwF_B-hMgKOF5Mgwzw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@567 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-30  Steven Dake  <sdake@mvista.com>

	Updated with comments from Michael Howard added evt and evs service tests to quickstart information added text about running as root removed default route setup instructions since they are no longer needed.
	(Logical change 1.165)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@566 fd59a12c-fef9-0310-b244-a6a79926bd2f

	QUICKSTART:   Updated with comments from Michael Howard   added evt and evs service tests to quickstart information   added text about running as root   removed default route setup instructions since they are no longer needed.
	BKrev: 424b198bYLqB2blTRdYtgLgjFmHjIA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@565 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/03/29 15:03:30-07:00 mvista.com!sdake
	testckpt.c:
	  Create section after section is unlinked in test code.
	ckpt.c:
	  Patch from Muni Bajpai to not setup a cleanup handler for a
	  checkpoint when a checkpoint open fails.  Patch also fixes up
	  checkpoint iterators so they do not crash on process exit.

	BKrev: 4249da03fKPlzZG0QP8eZriaAtoM-w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@564 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Patch from Muni Bajpai to not setup a cleanup handler for a checkpoint when a checkpoint open fails.  Patch also fixes up checkpoint iterators so they do not crash on process exit.
	(Logical change 1.164)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@563 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Create section after section is unlinked in test code.
	(Logical change 1.164)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@562 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-29  Miyotaka Sakai  <sakai@unknown.org>

	fix configuration change
	(Logical change 1.163)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@561 fd59a12c-fef9-0310-b244-a6a79926bd2f

	amf.c:   fix configuration change
	BKrev: 424889eehbHC-A5YNtbXzaEzVMhcVQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@560 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-28  Steven Dake  <sdake@mvista.com>

	Remove extra debug printf.
	(Logical change 1.162)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@559 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Remove extra debug printf.
	BKrev: 42485391qM7HG2et7RcmNIHInqXxTA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@558 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 368 A report of totemsrp not merging configurations led to this enhancement.
	totemsrp.c:
	  The totem protocol would not previously merge a configuration
	  until a multicast message was sent.  This change sends a special
	  "merge detect" message if no message has been multicast in some
	  time from the representative.  This merge detect message will
	  trigger other processors to enter the gather state and form
	  a new configuration if they were not previously part of the
	  current configuration.
	Makefile:
	  Build aisexec when libtotem.a changes.

	BKrev: 42484f5453Wf6HN2Gbyg9dznFaQGtw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@557 fd59a12c-fef9-0310-b244-a6a79926bd2f

	The totem protocol would not previously merge a configuration until a multicast message was sent.  This change sends a special "merge detect" message if no message has been multicast in some time from the representative.  This merge detect message will trigger other processors to enter the gather state and form a new configuration if they were not previously part of the current configuration.
	(Logical change 1.161)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@556 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Build aisexec when libtotem.a changes.
	(Logical change 1.161)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@555 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-28  Mark Haverkamp  <markh@osdl.org>

	This update allows retained events from a merging partition to be delivered to applications with the associated channels already open at the time of the merge.
	BKrev: 42484b6f0IXKK1Bql-GCaHwTbXg0dQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@554 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This update allows retained events from a merging partition to be delivered to applications with the associated channels already open at the time of the merge.
	(Logical change 1.160)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@553 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Async open and subscribe needed to check for registered call back functions and retrun an error if there were no assocated callbacks.
	BKrev: 42483e43sOS_W8zCqoAZNHTy43FhkA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@552 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Async open and subscribe needed to check for registered call back functions and retrun an error if there were no assocated callbacks.
	(Logical change 1.159)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@551 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-23  Mark Haverkamp  <markh@osdl.org>

	Only dispatch a callback if it is non-null.
	(Logical change 1.158)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@550 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Only dispatch a callback if it is non-null.
	BKrev: 4241cdbcbgCCwsZLJEXicZZTvGpuGQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@549 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-23  Steven Dake  <sdake@mvista.com>

	defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet
	(Logical change 1.157)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@548 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt.c:   defect325 - rename saCkptActiveCheckpointSet to saCkptActiveReplicaSet
	BKrev: 4240ac49svEd0Uoaf0zn8-6YXK5akw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@547 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile:   Link to seperate libraries.   Provide seperate libraries per service as well as the consolidated libais library.
	BKrev: 4240ac15wtabDEmO2ooaShdbFZP-wg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@546 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Link to seperate libraries.
	(Logical change 1.156)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@545 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Provide seperate libraries per service as well as the consolidated libais library.
	(Logical change 1.156)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@544 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-23  Mark Haverkamp  <markh@osdl.org>

	Fix an off by one error causing a bad event ID to be sent after a recovery in some cases.
	BKrev: 4240a8ba6cGIAgqLoTZNAUZJJOgyrg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@543 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix an off by one error causing a bad event ID to be sent after a recovery in some cases.
	(Logical change 1.155)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@542 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-17  Mark Haverkamp  <markh@osdl.org>

	Event service now reconciles open channels and retained events between active merging partitions.
	(Logical change 1.154)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@541 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/03/17 14:44:09-08:00 osdl.net!markh
	Event service now reconciles open channels and retained events between active
	merging partitions.

	BKrev: 423a084c-3ULQ_tcgSf5isGBiqzUWA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@540 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-17  Steven Dake  <sdake@mvista.com>

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/03/17 14:25:22-07:00 mvista.com!sdake
	ckpt.c:
	  Change few ERROR loggings to DEBUG loggings from Muni Bajpai.

	BKrev: 4239f5cbSrwx6_k9jxG2_GjW1OoVHQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@539 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change few ERROR loggings to DEBUG loggings from Muni Bajpai.
	(Logical change 1.153)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@538 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-17  Mark Haverkamp  <markh@osdl.org>

	Handle possible SA_AIS_ERR_TRY_AGAIN status.
	BKrev: 4239c886n6J6MzMfIVjaN1QvFnsfzg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@537 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Handle possible SA_AIS_ERR_TRY_AGAIN status.
	(Logical change 1.152)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@536 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-17  Steven Dake  <sdake@mvista.com>

	Block multicast messages during synchronization.
	(Logical change 1.151)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@535 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckptbench.c:   retry writes when it appears the system is blocked, perhaps during a resynchronization. Many files:   Block multicast messages during synchronization.
	BKrev: 4238c435y6ZGwBr-M4xFHDUJ7HhLaQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@534 fd59a12c-fef9-0310-b244-a6a79926bd2f

	retry writes when it appears the system is blocked, perhaps during a resynchronization.
	(Logical change 1.151)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@533 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-16  Steven Dake  <sdake@mvista.com>

	cleanup some shared datatypes.
	(Logical change 1.150)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@532 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cleanup some shared datatypes
	(Logical change 1.150)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@531 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.150)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@530 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Mark Haverkamp reported some compile warnings with his compiler.  Cleanup those warnings by unifying the datatypes used in totempg and totemsrp into one set of datatypes.
	Many files:
	  cleanup some shared datatypes for the totem protocol.
	totem.h:
	  new file

	BKrev: 423879baJvLZpm8nNaRfQHRfWB2fOA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@529 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@528 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Improved synchronization test code from Muni Bajpai.
	(Logical change 1.149)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@527 fd59a12c-fef9-0310-b244-a6a79926bd2f

	ckpt-wr.c, ckpt-rd.c:   Improved synchronization test code from Muni Bajpai.
	BKrev: 4238784c5RBxBXc3aHA68KOVGhAEWw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@526 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-15  Steven Dake  <sdake@mvista.com>

	Fix bug in sync which caused segfault.
	(Logical change 1.148)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@525 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.h, totemsrp.c:   Allow totemsrp to remove the reference information for a token callback. sync.c:   Fix bug in sync which caused segfault.
	BKrev: 42371b753plEvd2J96qRpg6mRxki1Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@524 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow totemsrp to remove the reference information for a token callback.
	(Logical change 1.148)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@523 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add checkpoint reader and writer to test synchronization
	(Logical change 1.147)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@522 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile:   Add checkpoint reader and writer to test synchronization ckpt-wr.c, ckpt-rd.c:   new file
	BKrev: 42363081enPpMuQpdvw2e1uqFAqD0A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@521 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.147)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@520 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@519 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-14  Steven Dake  <sdake@mvista.com>

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/03/14 15:39:42-07:00 mvista.com!sdake
	ipc_gen.h, ipc_ckpt.h, ckpt.c:
	  Checkpoint synchronization patch from Muni Bajpai.

	BKrev: 423612bc5lRZOqj0qi_o6zXGw1bAwg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@518 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Checkpoint synchronization patch from Muni Bajpai.
	(Logical change 1.146)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@517 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-11  Mark Haverkamp  <markh@osdl.org>

	Update the publish API to return SA_AIS_ERR_TRY_AGAIN to the application instead of handling it in the library.
	(Logical change 1.145)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@516 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update the publish API to return SA_AIS_ERR_TRY_AGAIN to the application instead of handling it in the library.
	BKrev: 4231eb69MvlifP_ykH0Nfj693tUWMA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@515 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-09  Mark Haverkamp  <markh@osdl.org>

	New event service recovery code implementation for totem and the new sync services.
	(Logical change 1.144)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@514 fd59a12c-fef9-0310-b244-a6a79926bd2f

	New event service recovery code implementation for totem and the new sync services.
	BKrev: 422f73c7NkihQaud_tc4WYQOjavwhg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@513 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-09  Steven Dake  <sdake@mvista.com>

	Cluster membership synchronization support
	(Logical change 1.143)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@512 fd59a12c-fef9-0310-b244-a6a79926bd2f

	clm.c:   Cluster membership synchronization support
	BKrev: 422f5283JgT5AkInLBoHrZMu0wx2rQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@511 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-03-02  Steven Dake  <sdake@mvista.com>

	Added synchronization base code.  Four new APIs are required for a service to support synchronization.  sync_init, sync_process, sync_activate, and sync_abort provide the calls into the recovery mechanism.
	sync.h, sync.c:
	  new file
	totemsrp.h, totemsrp.c, print.h, print.c, Makefile, main.c, handlers.h:
	  Synchronization base code added.
	ipc_gen.h:
	  Synchronization base code.

	BKrev: 422639e5L_FEDTWgRgI-w8vKm8zhMQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@510 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Synchronization base code.
	(Logical change 1.142)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@509 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Synchronization base code added.
	(Logical change 1.142)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@508 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.142)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@507 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@506 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-27  Steven Dake  <sdake@broked.org>

	em64t support
	(Logical change 1.141)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@505 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Many files:   em64t support
	BKrev: 42216853DGp9Hwgh8mvnixFj_QMRUQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@504 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-18  Steven Dake  <sdake@mvista.com>

	Many files:   Pass handle by value instead of address.
	BKrev: 4216488aoAf2Eu5qvs7qGxx8rO9zXw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@503 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Pass handle by value instead of address.
	(Logical change 1.140)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@502 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-17  Steven Dake  <sdake@mvista.com>

	Auto merged
	2005/02/16 17:24:12-07:00 mvista.com!sdake
	send ring_id through configuration changes patch from Muni Bajpai.

	(Logical change 1.139)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@501 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/02/16 17:24:48-07:00 mvista.com!sdake
	Many files:
	  send ring_id through configuration changes patch from Muni Bajpai.
	clm.c:
	  mutex bug fixes as reported by Kristen Smith.

	BKrev: 4213e45dnMl87bYQKSfi4_98X352Lg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@500 fd59a12c-fef9-0310-b244-a6a79926bd2f

	send ring_id through configuration changes patch from Muni Bajpai.
	(Logical change 1.139)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@499 fd59a12c-fef9-0310-b244-a6a79926bd2f

	mutex bug fixes as reported by Kristen Smith.
	(Logical change 1.139)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@498 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-16  Mark Haverkamp  <markh@osdl.org>

	Look for SA_EVT_EVENTID_LOST when receiving an event.
	(Logical change 1.138)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@497 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Set default event ID.
	(Logical change 1.138)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@496 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Set lost event ID on dropped events.
	(Logical change 1.138)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@495 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use special event ID for setting the default in a new event and to indicate a lost event.  Update subscription test to look for the "lost" event ID.
	BKrev: 42128170Q5DcNymwbx8NushEykXwmg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@494 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-15  Mark Haverkamp  <markh@osdl.org>

	Add unlink function.
	(Logical change 1.137)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@493 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_work
	2005/02/15 08:54:34-08:00 osdl.net!markh
	Add unlink function.

	BKrev: 42122956O-InvJqb6K70vMTy4gl8yQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@492 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-09  Steven Dake  <sdake@mvista.com>

	Increase code coverage by calling more API functions.
	(Logical change 1.136)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@491 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testevs.c, testckpt.c:   Increase code coverage by calling more API functions. testamf.c:   Fix bug in test script which was causing test not to run.   Increase code coverage by allowing few more apis to be called. totemsrp.c:   Increase code coverage by removing some debug code
	BKrev: 42095a88Q0lU2eqEirC1FAZ05pxlmg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@490 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix bug in test script which was causing test not to run. Increase code coverage by allowing few more apis to be called.
	(Logical change 1.136)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@489 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Increase code coverage by removing some debug code
	(Logical change 1.136)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@488 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-08  Steven Dake  <sdake@mvista.com>

	(Logical change 1.135)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@487 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Many files:   defect 245 - revise checkpoint service to B.01.01. saCkpt.h, ipc_ckpt.h, sa_error.h:   new file .del-ais_clm.h~ed02cd4c7506e43:   Delete: include/ais_clm.h .del-ais_ckpt.h~b3c15abf536a6fbc:   Delete: include/ais_ckpt.h
	BKrev: 42092786pSJQ8uC11PWAhWTC1Hwjqw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@486 fd59a12c-fef9-0310-b244-a6a79926bd2f

	defect 245 - revise checkpoint service to B.01.01.
	(Logical change 1.135)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@485 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: include/ais_ckpt.h
	}(Logical change 1.135)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@484 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: include/ais_clm.h
	}(Logical change 1.135)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@483 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@482 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Add more text output to display what occurs during recovery.   Fix recovery bug which results in segfault.   fix defect 228 - ring id file deleted causes assert.   Fix recovery bug where recovery doesn't complete.   Fix assert on commit phase.
	BKrev: 42092662LEVSqJlhbISw-Hweb4Cbfg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@481 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add more text output to display what occurs during recovery. Fix recovery bug which results in segfault. fix defect 228 - ring id file deleted causes assert. Fix recovery bug where recovery doesn't complete. Fix assert on commit phase.
	(Logical change 1.134)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@480 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-08  Mark Haverkamp  <markh@osdl.org>

	Add test for channel open async
	(Logical change 1.133)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@479 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add handler for channel open async
	(Logical change 1.133)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@478 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add handler for channel open async and add a test to testevt for the async channel open function. Bug fix for event retention time clear exec code and added comments when converting nanoseconds to milliseconds.
	BKrev: 4208f4048DxJP7FLwfqHo7TfAoEJlA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@477 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-04  Mark Haverkamp  <markh@osdl.org>

	This fixes a potential problem where, because of a config change, a joining node may not have a previous fragment of a message.  It now discards continuations of that message until it is complete and a new message arrives.
	(Logical change 1.132)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@476 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This fixes a potential problem where, because of a config change, a joining node may not have a previous fragment of a message.  It now discards continuations of that message until it is complete and a new message arrives.
	BKrev: 4203ea20pYSrD8ZyY3pxIHSXFSooeg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@475 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove ais_evt.h since its content has been moved.
	BKrev: 4203e785HE6cQ-KCAgc-CHHOiZ0tEg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@474 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: include/ais_evt.h
	}(Logical change 1.131)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@473 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update to B spec API
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@472 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update event service to B spec API.
	BKrev: 4203e6d8nLXD7EMTNFZNfFwMnzt8mA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@471 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Conver to B spec API.
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@470 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update dependencies.
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@469 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.130)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@468 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update evt to B spec remove event related code and move to ipc_evt.h and saEvt.h
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@467 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use B spec include files
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@466 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Convert to B spec. Add in endian conversion functions.
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@465 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Moved from ais_msg.h so ais_msg.h doesn't need to be included by evt.
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@464 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update evt to B spec. remove evt related code and move to ipc_evt.h and saEvt.h
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@463 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update dependencies
	(Logical change 1.130)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@462 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@461 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-04  Steven Dake  <sdake@mvista.com>

	util.c:   Fix merge error in util.c file
	BKrev: 4203d35fqEwtXJ4ZtIAnGz5HWpHsEQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@460 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge error in util.c file
	(Logical change 1.129)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@459 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Small fix for data types.
	(Logical change 1.128)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@458 fd59a12c-fef9-0310-b244-a6a79926bd2f

	util.c:   Small fix for data types.
	BKrev: 4203d2d97z9HmoblaHq8etKUqRGF0w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@457 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update to use 64 bit data types for handles.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@456 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf1.c, testamf2.c:   64 bit handles. testevs.c, testclm.c, testamfth.c, testamf6.c, testamf4.c, testamf3.c:   64 bit handles evs.h:   change data type of handle to 64 bits for evs_handle_t. ais_types.h:   remove cluster membership types and put in saClm.h file. ais_msg.h:   remove cluster membership code and put in ipc file. util.h, util.c:   Update to use 64 bit data types for handles. clm.c:   Update cluster membership to B.01.01. print.h:   Update print data to new node structure. clm.h, clm.c:   Update cluster membership service to B.01.01. saClm.h, ipc_gen.h, ipc_clm.h:   new file
	BKrev: 4203ce72I415G1q4yQQNjFfAxSJVOA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@455 fd59a12c-fef9-0310-b244-a6a79926bd2f

	64 bit handles
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@454 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove cluster membership code and put in ipc file.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@453 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update cluster membership service to B.01.01.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@452 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.127)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@451 fd59a12c-fef9-0310-b244-a6a79926bd2f

	64 bit handles.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@450 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update print data to new node structure.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@449 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove cluster membership types and put in saClm.h file.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@448 fd59a12c-fef9-0310-b244-a6a79926bd2f

	change data type of handle to 64 bits for evs_handle_t.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@447 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Update cluster membership to B.01.01.
	(Logical change 1.127)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@446 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@445 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-02-01  Steven Dake  <sdake@mvista.com>

	fix defect 131 - member element not set in cluster membership service
	(Logical change 1.126)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@444 fd59a12c-fef9-0310-b244-a6a79926bd2f

	More fixes for defect 204.  From Mark Haverkamp: |Looking at the totempg config change function, I think that leaving |members should have their assembly area reset.  I assume that any data |that is there is now invalid, and we wouldn't want it hanging around if |they return.  Also, I think that the wrong index was being used to |initialize the assembly area index.
	(Logical change 1.126)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@443 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.c:   More fixes for defect 204.  From Mark Haverkamp:   |Looking at the totempg config change function, I think that leaving   |members should have their assembly area reset.  I assume that any data   |that is there is now invalid, and we wouldn't want it hanging around if   |they return.  Also, I think that the wrong index was being used to   |initialize the assembly area index. clm.c:   fix defect 131 - member element not set in cluster membership service
	BKrev: 41ffe9278sM8ZyWmj_3tmUK0YiqgSQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@442 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-31  Steven Dake  <sdake@mvista.com>

	Fix from mark and daniel for small packet sizes in totempg resulting in segfault.
	(Logical change 1.125)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@441 fd59a12c-fef9-0310-b244-a6a79926bd2f

	random drop defined to on..  turning off.
	(Logical change 1.125)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@440 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   random drop defined to on..  turning off. totempg.c:   Fix from mark and daniel for small packet sizes in totempg resulting   in segfault.
	BKrev: 41feac34ILMg8MsBZNAXgHefIA22zw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@439 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totempg.c:   Fixes defect 204 : messages not delivered correctly   Patch from Mark Haverkamp.
	BKrev: 41fe8cbaM4eR7_3dP91qFSahtT23dA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@438 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes defect 204 : messages not delivered correctly Patch from Mark Haverkamp.
	(Logical change 1.124)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@437 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix bug in implementation that deviates from specification.
	(Logical change 1.123)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@436 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Fix bug in implementation that deviates from specification.
	BKrev: 41fe8c84mIHGgf3brH_kZTiOR_ACvQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@435 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-29  Steven Dake  <sdake@mvista.com>

	bug 214 Fix pthread mutex not unlocked in error path
	(Logical change 1.122)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@434 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove priority fields from evs service. ..
	(Logical change 1.122)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@433 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove priority fields from evs service.
	(Logical change 1.122)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@432 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evs_mcast_joined.3:   remove priority fields from evs service.   .. evs_mcast_groups.3, evs.h, ais_msg.h:   remove priority fields from evs service. util.c:   bug 214   Fix pthread mutex not unlocked in error path
	BKrev: 41fbd660W-BROulgsZt4S6LYD_pcvw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@431 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-27  Steven Dake  <sdake@mvista.com>

	testevs.c, evsbench.c:   Remove priorities from interfaces. evs.c:   Remove priorities from evs interfaces. totempg.h, totempg.c, main.c, handlers.h, evt.c, evs.c, clm.c, ckpt.c, amf.c:   Remove priorities from all interfaces.
	BKrev: 41f943030jN3Y5g5v10371Hgb2007A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@430 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove priorities from evs interfaces.
	(Logical change 1.121)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@429 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove priorities from interfaces.
	(Logical change 1.121)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@428 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove priorities from all interfaces.
	(Logical change 1.121)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@427 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-24  Steven Dake  <sdake@mvista.com>

	Fix defect 203 commit token asserts
	(Logical change 1.120)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@426 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Fix defect 203 commit token asserts
	BKrev: 41f55007suViMhWrhOICprHxyacUwg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@425 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-24  Mark Haverkamp  <markh@osdl.org>

	Small fixes. evt: fix member count until recovery code is done. totempg: remove dbug print.
	BKrev: 41f546cd0Fq27HJzalqHeE69x99WKg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@424 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Temp config change code
	(Logical change 1.119)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@423 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove debug print
	(Logical change 1.119)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@422 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-22  Steven Dake  <sdake@broked.org>

	Remove random dropping of packets in released version.
	(Logical change 1.118)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@421 fd59a12c-fef9-0310-b244-a6a79926bd2f

	totemsrp.c:   Remove random dropping of packets in released version.
	BKrev: 41f2c58dbLMQ6YcKCJxEwIKRUk7lxw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@420 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-22  Steven Dake  <sdake@mvista.com>

	update to new totem code
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@419 fd59a12c-fef9-0310-b244-a6a79926bd2f

	enable some testing code.
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@418 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add test.cpp to makefile
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@417 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: exec/gmi.c
	}(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@416 fd59a12c-fef9-0310-b244-a6a79926bd2f

	new benchmark runs for 10 seconds.
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@415 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update to new crypto code
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@414 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update to new crypto code.
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@413 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.117)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@412 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile:   Add test.cpp to makefile testckpt.c:   enable some testing code. evsbench.c, ckptbench.c:   new benchmark runs for 10 seconds. test.cpp, rmd.h, totemsrp.h, totemsrp.c, totempg.h, totempg.c, swab.h:   new file sq.h, Makefile, evt.c, evs.c, clm.c, amf.c, crypto.c, ckpt.c, aispoll.c:   update to new totem code. queue.h, ais_msg.h:   update to new totem code parse.h, parse.c, Makefile, main.h:   update to new crypto code main.c, handlers.h:   update to new crypto code. .del-gmi.h~7d81bcdb10af22b3:   Delete: exec/gmi.h .del-gmi.c~df0f77a7b91ff206:   Delete: exec/gmi.c
	BKrev: 41f2bdd3a_mEhs2wkBZHsD4_aft9vA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@411 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update to new totem code.
	(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@410 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: exec/gmi.h
	}(Logical change 1.117)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@409 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@408 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-11  Mark Haverkamp  <markh@osdl.org>

	add in missing mutex unlock
	BKrev: 41e405deOyfzWPCaxv7_aIpgxL5C5g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@407 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add in missing mutex unlock
	(Logical change 1.116)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@406 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Need to specify create because the channel probably doesn't exist anymore.
	BKrev: 41e40050NKYAEN3N5kB1-R-klUXqUQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@405 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Need to specify create because the channel probably doesn't exist anymore.
	(Logical change 1.115)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@404 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-10  Miyotaka Sakai  <sakai@unknown.org>

	amf.c:   For Protection Group Tracking Bug
	BKrev: 41e29f00Yz2GqTwTyBhpW_zo6WjI1Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@403 fd59a12c-fef9-0310-b244-a6a79926bd2f

	For Protection Group Tracking Bug
	(Logical change 1.114)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@402 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-08  Steven Dake  <sdake@mvista.com>

	tlist.h:   Fix required for previous tlist.c commit.
	BKrev: 41e01e1cFsurlTBuApZjiZ3l9RFdBw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@401 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix required for previous tlist.c commit.
	(Logical change 1.113)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@400 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2005/01/08 02:16:10-07:00 mvista.com!sdake
	tlist.c:
	  Fix use of memory area after free when timer_fn deletes a timer.
	  The 3 cases are:
	  1. timer_fn deletes its own timer
	  2. timer_fn deletes next timer after its own timer
	  3. timer_fn deletes any other timer

	BKrev: 41dfa4faNWgA_s0fcyzlj-jhOFNKAA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@399 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix use of memory area after free when timer_fn deletes a timer. The 3 cases are: 1. timer_fn deletes its own timer 2. timer_fn deletes next timer after its own timer 3. timer_fn deletes any other timer
	(Logical change 1.112)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@398 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-07  Steven Dake  <sdake@broked.org>

	evs.c, clm.c, amf.c:   Fix missing unlock in error conditions reported by Kristen Smith
	BKrev: 41deef37lfq4PXPbgolOpenG8xUJYg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@397 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix missing unlock in error conditions reported by Kristen Smith
	(Logical change 1.111)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@396 fd59a12c-fef9-0310-b244-a6a79926bd2f

2005-01-07  Kristen Smith  <kjsmith@nortelnetworks.com>

	Add missing mutex unlocks in evt dispatch function.
	BKrev: 41dec6bdm_JzS8aFCPMDziJhBZprSw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@395 fd59a12c-fef9-0310-b244-a6a79926bd2f

	I was running into a problem where the evt api appeared to be getting into a deadlock situtation. The problem would occur when I would kill aisexec while my program was running (using EVT and CLM apis). My program is multi-threaded where 1 thread is calling evtDispatch and other threads can be calling evtPublish at various times. The problem I ran into is when I killed aisexec, the evtDispatch would take a lock, but never give it back. At the same time, my sending thread would call evtPublish which would take the lock and hang since evtDispatch never gave up the lock it took.
	The fix was to add a few unlocks in evt.c where they appeared to be missing.
	Here is the info:

	1) line 504 in evt.c (lib dir) calls

	pthread_mutex_unlock(&evti->ei_mutex);
	goto error_unlock;

	2) There are subsequent calls to goto error_unlock in later error statements
	that do not unlock the mutex before the goto call - the lines are 534 and 541

	Adding the unlock right before the goto @ 534 and @ 541 fixes the deadlock
	for my scenario.

	Kristen Smith
	Nortel Networks

	(Logical change 1.110)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@394 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-29  Steven Dake  <sdake@mvista.com>

	Improve code coverage by testing a few more APIs in the AMF.
	(Logical change 1.109)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@393 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf.c:   Improve code coverage by testing a few more APIs in the AMF.
	BKrev: 41ab821fPmG01mXBZYuPJWKuOLHj5A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@392 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-25  Steven Dake  <sdake@mvista.com>

	code coverage work cleanup
	(Logical change 1.108)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@391 fd59a12c-fef9-0310-b244-a6a79926bd2f

	fix double ;; which causes gcc 2.95 to fail to compile
	(Logical change 1.108)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@390 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testparse.c:   code coverage work cleanup evt.c:   fix double ;; which causes gcc 2.95 to fail to compile
	BKrev: 41a51dc9RLGeGsr9z5GLjSGzFovoKQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@389 fd59a12c-fef9-0310-b244-a6a79926bd2f

	correct stack corruption when logging data.
	(Logical change 1.107)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@388 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove extra printf from gmi.
	(Logical change 1.107)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@387 fd59a12c-fef9-0310-b244-a6a79926bd2f

	parse.c:   correct stack corruption when logging data. gmi.c:   remove extra printf from gmi.
	BKrev: 41a51930u36bUFf2s34EDiXBXWb-1Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@386 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-24  Steven Dake  <sdake@mvista.com>

	Fix compile with gcc 2.95.
	(Logical change 1.106)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@385 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c, amf.c:   Fix compile with gcc 2.95.
	BKrev: 41a50bf5bDdOboBSLlLamrDIChW6LQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@384 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-12  Steven Dake  <sdake@mvista.com>

	evs.c:   Kristen Smith reported a bug where evs would return 0.0.0.0 in the   source address.  This patch fixes that defect 182.
	BKrev: 41950c4eWm2WAOmtw1VmnIPUzCirKw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@383 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Kristen Smith reported a bug where evs would return 0.0.0.0 in the source address.  This patch fixes that defect 182.
	(Logical change 1.105)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@382 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-08  somacoma  <somacoma@unknown.org>

	Merge
	2004/10/29 00:13:35+02:00 somacoma.net!dns
	evt.c:
	  Fix type-punning warnings with gcc-3.3 and later.

	BKrev: 418eb0e5AwiqPJ0GA8LlrTmNOv1pVQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@381 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix type-punning warnings with gcc-3.3 and later.
	(Logical change 1.104)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@380 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-06  Steven Dake  <sdake@mvista.com>

	Commit timeout wasn't stopped when entering gather state.  This patch stops the commit timeout when the gather state is entered.
	(Logical change 1.103)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@379 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2004/11/06 10:42:19-07:00 mvista.com!sdake
	gmi.c:
	  Commit timeout wasn't stopped when entering gather state.  This patch stops
	  the commit timeout when the gather state is entered.

	BKrev: 418d0d02UJqL-86F2zLxnkruJk2Z7Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@378 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-05  Miyotaka Sakai  <sakai@unknown.org>

	Makefile:   append keygen.o to clean target amf.c:   match function name to coding style
	BKrev: 418baa69pjW8OB2yd60kweHMtHG5Fg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@377 fd59a12c-fef9-0310-b244-a6a79926bd2f

	match function name to coding style
	(Logical change 1.102)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@376 fd59a12c-fef9-0310-b244-a6a79926bd2f

	append keygen.o to clean target
	(Logical change 1.102)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@375 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-04  Miyotaka Sakai  <sakai@unknown.org>

	implement gmi_token_callback in amf.c
	(Logical change 1.101)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@374 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Makefile:   get rid of make error amf.c:   implement gmi_token_callback in amf.c
	BKrev: 418aaf0fKs_99rjhstkG78ZR02mT9g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@373 fd59a12c-fef9-0310-b244-a6a79926bd2f

	get rid of make error
	(Logical change 1.101)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@372 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-02  Miyotaka Sakai  <sakai@unknown.org>

	fix wrong Hastat after node join
	(Logical change 1.100)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@371 fd59a12c-fef9-0310-b244-a6a79926bd2f

	fix wrong HaStat after node join
	(Logical change 1.100)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@370 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-11-02  Steven Dake  <sdake@mvista.com>

	Merge persist.az.mvista.com:/home/sdake/openais into persist.az.mvista.com:/export/hadev/openais/defect-174
	2004/10/31 00:48:17+09:00 sakai!sakai
	ais_msg.h:
	  fix wrong Hastat after node join
	amf.c:
	  fix wrong HaStat after node join

	BKrev: 4187f5f99iXw5l-V34v_kR2YTLDpgg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@369 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-30  Steven Dake  <sdake@mvista.com>

	Add rlimit code to allow openais to work with linux kernel 2.6.9 or later
	(Logical change 1.99)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@368 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add rlimit code to allow openais to work with linux kernel 2.6.9 or later
	BKrev: 4182db2fMpOhxCxRnyhHxC5YOCUhvg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@367 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-28  Steven Dake  <sdake@mvista.com>

	64bit safe ais types
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@366 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove specific o files instead of all objects.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@365 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Type checking changes for printf's
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@364 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix off by one which oculd cause invalid handle to be used.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@363 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix off by one which could cause invalid handle to be used.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@362 fd59a12c-fef9-0310-b244-a6a79926bd2f

	type safeness printing.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@361 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Several fixes by Daniel Stodden.  Possible crash on invalid handle fixed in library and executive.  Also parser could crash when out of memory occurs.
	util.c:
	  Fix off by one which oculd cause invalid handle to be used.
	testevt.c, testckpt.c, subscription.c, evtbench.c:
	  type safeness printing.
	publish.c:
	  type safeness prnting.
	ais_types.h:
	  64bit safe ais types
	Makefile:
	  Remove specific o files instead of all objects.
	parse.c:
	  Fix crash in parser.
	hdb.c:
	  Fix off by one which could cause invalid handle to be used.
	gmi.c:
	  remove type-punned pointer warning
	ckpt.c, amf.c:
	  Type checking changes for printf's

	BKrev: 4180200fVk1m035hXoENX87UgLUrKg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@360 fd59a12c-fef9-0310-b244-a6a79926bd2f

	type safeness prnting.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@359 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove type-punned pointer warning
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@358 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix crash in parser.
	(Logical change 1.98)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@357 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-22  Mark Haverkamp  <markh@osdl.org>

	I added some cases to test multiple channel and subscriptions as well as some retained event tests.
	(Logical change 1.97)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@356 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Here some updates to the event code.  The first are changes to exec/evt.c: 1. manage the base event ID a little better. 2. I also added some private log levels to allow me to selectively turn on debug output in some sections of the code without turning on everything. 3. Remove (EVT) from all the printf calls.
	The next is an update to the testevt program. I added some cases to test
	multiple channel and subscriptions as well as some retained event tests.

	BKrev: 417978c5I2I15AFzIQ0zITa5_ESuZQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@355 fd59a12c-fef9-0310-b244-a6a79926bd2f

	1. manage the base event ID a little better. 2. I also added some private log levels to allow me to selectively turn on debug output in some sections of the code without turning on everything. 3. Remove (EVT) from all the printf calls.
	(Logical change 1.97)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@354 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-18  Steven Dake  <sdake@mvista.com>

	Change logging to include service and description.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@353 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change loggint o include service and description.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@352 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add log print service.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@351 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: exec/log/print.c
	}(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@350 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add log service level.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@349 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Big update for better logging to file, syslog, or stderr.
	print.h:
	  Change loggint o include service and description.
	print.c:
	  Change logging to include service and description.
	parse.h, parse.c:
	  Change parser to read new configuration file format.
	main.c:
	  Some changes for log services.
	gmi.c, evt.c, evs.c, clm.c, ckpt.c:
	  Add log service level.
	amf.c:
	  Add log print service.
	openais.conf:
	  new file
	.del-network.conf~b38a0f011c4341a7:
	  Delete: conf/network.conf
	QUICKSTART:
	  Updates that explains new configuration file options.
	.del-print.h~e83281cecec7f02d:
	  Delete: exec/log/print.h
	.del-print.c~53000a4a22b4cd:
	  Delete: exec/log/print.c

	BKrev: 41740e46Y1NJgmUMM6WceFwxBVXOVg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@348 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.96)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@347 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Updates that explains new configuration file options.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@346 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change parser to read new configuration file format.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@345 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: conf/network.conf
	}(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@344 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Delete: exec/log/print.h
	}(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@343 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Some changes for log services.
	(Logical change 1.96)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@342 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@341 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-15  Mark Haverkamp  <markh@osdl.org>

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_event
	2004/10/15 07:34:46-07:00 osdl.net!markh
	Fix some problems in the open channel recovery code that could cause
	remaining nodes to have an incorrect count when a node left the
	membership.

	BKrev: 416fe0393RmyVFqRVwmPFENov-OyGw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@340 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix some problems in the open channel recovery code that could cause remaining nodes to have an incorrect count when a node left the membership.
	(Logical change 1.95)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@339 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-15  Steven Dake  <sdake@mvista.com>

	Make testevs exit on evs_initialize if the return code is not EVS_OK.
	(Logical change 1.94)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@338 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add handle instance destructor code.  Previously it was set to null and was being called which caused a null jump.
	(Logical change 1.94)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@337 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testevs.c:   Make testevs exit on evs_initialize if the return code is not EVS_OK. evs.c:   Add handle instance destructor code.  Previously it was set to   null and was being called which caused a null jump.
	BKrev: 416f1bdbIKOv0YEK2JzYcGImsLWrsA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@336 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-12  Mark Haverkamp  <markh@osdl.org>

	Fix some compiler warnings with gcc 3.4
	(Logical change 1.93)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@335 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2004/10/12 14:57:45-07:00 osdl.net!markh
	Message type support for tracking open channels

	(Logical change 1.93)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@334 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2004/10/12 14:57:45-07:00 osdl.net!markh
	This takes care of tracking open channels through configuration
	changes.  The channel structures and data are maintained until the last
	instance is closed and there are no unexpired retained events.  Then the
	data is freed up.

	(Logical change 1.93)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@333 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_event
	2004/10/12 14:57:46-07:00 osdl.net!markh
	Handle open channels cluster wide and track opens.  Free up channel
	data when there are no more references.

	Also, fix some compiler warnings in lib/evt.c

	BKrev: 416c53d279cT2JNVM_jQ5qBjLGe6EQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@332 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-11  Miyotaka Sakai  <sakai@unknown.org>

	correct defalut component name
	(Logical change 1.92)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@331 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf5.c, testamf3.c:   correct defalut component name testamf4.c:    correct defalut component name
	BKrev: 416a4e740QCv2KoVOb0lbFRJYINodA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@330 fd59a12c-fef9-0310-b244-a6a79926bd2f

	 correct defalut component name
	(Logical change 1.92)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@329 fd59a12c-fef9-0310-b244-a6a79926bd2f

	main.c, handlers.h, evt.c, evs.c, clm.c, ckpt.c, amf.c:   exec_dump_fn support as SIGUSR2 handler to easy to debug
	BKrev: 416a3b42053878SDRpbH_G7EUB4rAQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@328 fd59a12c-fef9-0310-b244-a6a79926bd2f

	exec_dump_fn support as SIGUSR2 handler to easy to debug
	(Logical change 1.91)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@327 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-05  Steven Dake  <sdake@mvista.com>

	Auto merged
	2004/10/04 16:08:46-07:00 mvista.com!sdake
	Remove unneeded debug printf

	(Logical change 1.90)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@326 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change req_header to res_header to match rest of library, especially for out of order queued messages.
	(Logical change 1.90)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@325 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2004/10/04 16:10:02-07:00 mvista.com!sdake
	testamf.c:
	  Change testamf to just test protection group tracking
	  and componentcapabilitymodelget.
	amf.c:
	  Change req_header to res_header to match rest of
	  library, especially for out of order queued messages.
	  Remove unneeded debug printf

	BKrev: 416301fc-l-UbKOcLV0FMuNqzCEQIw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@324 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2004/10/04 16:09:33-07:00 mvista.com!sdake
	Change testamf to just test protection group tracking
	and componentcapabilitymodelget.

	(Logical change 1.90)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@323 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-05  Miyotaka Sakai  <sakai@unknown.org>

	amf.h, main.c, amf.c:   add Amfcomponent state dump mechanism
	BKrev: 4162c542Q_AtRTLkaWtprRi7H3ew7w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@322 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add Amfcomponent state dump mechanism
	(Logical change 1.89)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@321 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-02  Miyotaka Sakai  <sakai@unknown.org>

	add surpressing health check printf message
	(Logical change 1.88)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@320 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf.c:   add to reduce health check printf message testamf6.c, testamf5.c, testamf4.c, testamf3.c, testamf2.c, testamf1.c:   add to reduce health check printf message
	BKrev: 415e7532j5RNbHSwQl4tF2HzMJjayQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@319 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add suppressing healthcheck pritf message
	(Logical change 1.88)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@318 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-10-02  Steven Dake  <sdake@mvista.com>

	Fix a bunch of errors in node get and async node get.
	(Logical change 1.87)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@317 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Increase code coverage of clm code.
	(Logical change 1.87)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@316 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testclm.c:   Increase code coverage of clm code. clm.c, ais_msg.h:   Fix a bunch of errors in node get and async node get.
	BKrev: 415e032aF1mVsl5HqRqEZTGL5S90VA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@315 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-29  Miyotaka Sakai  <sakai@unknown.org>

	get rid of compile warning
	(Logical change 1.86)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@314 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testckpt.c:   get rid of compile warning
	BKrev: 415a0e3b7pcmfNPh8_SQDhuaxhArpQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@313 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-28  Mark Haverkamp  <markh@osdl.org>

	Auto merged
	2004/09/28 11:29:35-07:00 mvista.com!sdake
	Configuration change support from Miyotaka Sakai.

	(Logical change 1.85)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@312 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge markh@bk.osdl.org:/var/bk/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_event
	2004/09/28 11:29:45-07:00 mvista.com!sdake
	parse.h, amf.c:
	  Configuration change support from Miyotaka Sakai.

	BKrev: 4159bb79gTMIV1ezWSXqMb61zwoXkg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@311 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2004/09/28 11:29:17-07:00 mvista.com!sdake
	Configuration change support from Miyotaka Sakai.

	(Logical change 1.85)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@310 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Moved the SaNameTisNNameT function to util.c and called it name_match.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@309 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Replace SaNameTisNameT with name_match from util.[ch]
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@308 fd59a12c-fef9-0310-b244-a6a79926bd2f

	evt code updated to handle cluster config changes better.  Now, when a node joins, it is sent any retained events that have time left on them. Also, if the joining node had been a part of the cluster in the past, it is sent the next event ID that it should use so as to not generate duplicate event IDs. Channel open requests are now completed in the exec handler, with channel close code to follow later.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@307 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Mostly event service updates to handle recovery after a configuration change. (Selecting next event ID and sending retained events to the joiner).
	BKrev: 4159ad7atHUdo0CF1QjlYHOM-fjAvQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@306 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testparse.c needs util.o now.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@305 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.84)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@304 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove some old TODO comments.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@303 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added util.[ch] for time and SaNameT match functions.  Also updated dependencies.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@302 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Updates for evt to handle recovery after a config change.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@301 fd59a12c-fef9-0310-b244-a6a79926bd2f

	added a semi-quiet mode.
	(Logical change 1.84)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@300 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@299 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-28  Steven Dake  <sdake@mvista.com>

	Add token callback for recovery routines.
	(Logical change 1.83)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@298 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add token callback for recovery.
	gmi.h:
	  Add token callback functions to header.
	gmi.c:
	  Add token callback for recovery routines.

	BKrev: 4159aa0ejs1nwJhT7hT1XL-gr9wv2Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@297 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add token callback functions to header.
	(Logical change 1.83)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@296 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-24  Mark Haverkamp  <markh@osdl.org>

	Check to see that the message can be sent before proceeding.
	(Logical change 1.82)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@295 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add assert around clmNodeJoinSend since the call to gmi_mcast can return a failure now.
	(Logical change 1.82)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@294 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add assert around gmi_mcast calls since it can return a failure now.
	BKrev: 4154791ch3ag3FHVGxaUfrVFsvN3sQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@293 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add assert around gmi_mcast since it can return a failure now.
	(Logical change 1.82)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@292 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-24  Steven Dake  <sdake@mvista.com>

	testparse.c:   Fix commit error in changeset 1.77.
	BKrev: 41534ab0cY4dYHQw-qoPHLMpXQTAAQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@291 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix commit error in changeset 1.77.
	(Logical change 1.81)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@290 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Allow getSaNameT to be compiled in for application reporting.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@289 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add sectione xpiration and get checkpoint durations working properly.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@288 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean up duration and expiration functions.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@287 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Finalize expiration of sections and checkpoints.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@286 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Test expiration timer.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@285 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix build error with -DDEBUG set.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@284 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add final support for duration timers on checkpoints and expiration timers. This cleans up memory leaks that could occur because checkpoints are expected to cleanup with the expiration and duration timers.
	testckpt.c:
	  Test expiration timer.
	ckptbenchth.c:
	  Reduce number of threads so runs with valgrind operate faster.
	ckpt.c:
	  Clean up duration and expiration functions.
	ais_types.h:
	  Add sectione xpiration and get checkpoint durations working properly.
	ais_msg.h:
	  Add section expiration and get checkpoint durations working properly.
	ckpt.h, ckpt.c:
	  Finalize expiration of sections and checkpoints.
	print.c:
	  Allow getSaNameT to be compiled in for application reporting.
	evs.c:
	  Fix build error with -DDEBUG set.

	BKrev: 41534a3dcm_0gpB32jNbsek3bGYwXQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@283 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Reduce number of threads so runs with valgrind operate faster.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@282 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add section expiration and get checkpoint durations working properly.
	(Logical change 1.80)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@281 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-23  Steven Dake  <sdake@mvista.com>

	Store handle address in timer structure.  When timer expires, wipe out the handle address's value, since the timer is no longer valid. This allows double frees, or frees on handles that haven't been added. One note of caution: a handle cannot be moved into another variable and be expected to work properly for double frees.
	(Logical change 1.79)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@280 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change define for timer handle.
	(Logical change 1.79)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@279 fd59a12c-fef9-0310-b244-a6a79926bd2f

	tlist.h:   Change interface to allow storing of handle address in timer structure. aispoll.h, aispoll.c:   Change define for timer handle. tlist.c:   Store handle address in timer structure.  When timer expires, wipe   out the handle address's value, since the timer is no longer valid.   This allows double frees, or frees on handles that haven't been   added.   One note of caution: a handle cannot be moved into another variable   and be expected to work properly for double frees.
	BKrev: 4152267afe09VjiyO_78GrWKiND_oQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@278 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change interface to allow storing of handle address in timer structure.
	(Logical change 1.79)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@277 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-22  Steven Dake  <sdake@mvista.com>

	Fix annoying build failure because of code coverage increases.
	(Logical change 1.78)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@276 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testparse.c:   Fix annoying build failure because of code coverage increases.
	BKrev: 4151d91edCQRlmhK78LajPaUV35NyQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@275 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-21  Steven Dake  <sdake@mvista.com>

	Add retainined events while also cleaning up memory leakage that occurs because of a lack of retained events.
	(Logical change 1.77)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@274 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add duration timer support. ckpt.h:   Add retained checkpoints timer to checkpoint structure. ckpt.c:   Add retained checkpoints while also cleaning up memory leakage that occurs   because of a lack of retained events.
	BKrev: 414f7d20vmWMyWW9eWJST5Ew5sw_yw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@273 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add retained events timer to checkpoint structure.
	(Logical change 1.77)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@272 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Get rid of valgrind warning and possible segfault.
	(Logical change 1.76)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@271 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Get rid of valgrind warning and possible segfault.
	BKrev: 414f7c5cf4HwWODMiTAI2PCkLX1fnw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@270 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Missed merge of these two files from last changeset.
	(Logical change 1.75)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@269 fd59a12c-fef9-0310-b244-a6a79926bd2f

	handlers.h, gmi.h:   Missed merge of these two files from last changeset.
	BKrev: 414f573d4f7iW8ZMEKLNAImK24Vn3g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@268 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-18  Steven Dake  <sdake@mvista.com>

	Add recovery plug support to evs. l
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@267 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to amf.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@266 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to openais.  This allows messages that are recovery messages to be blocked until recovery completes.  All low/medium/high messages cannot be transmitted until all processors have unplugged themselves.  If a configuration change occurs, the plugs are invalidated and the recovery starts again.
	Makefile:
	  Remove two build errors with extra object file included that is not needed.
	main.c:
	  Add recovery plug support.
	gmi.c:
	  Add recovery plug support to group messaging.
	evt.c:
	  Add recovery plug support to evt.
	evs.c:
	  Add recovery plug support to evs.
	  l
	clm.c:
	  Add recovery plug support to clm.
	ckpt.c:
	  Add recovery plug support to ckpt.
	amf.c:
	  Add recovery plug support to amf.

	BKrev: 414bddd7HCsNs1rz-sJV92mB6fupCw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@265 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to clm.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@264 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to group messaging.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@263 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to evt.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@262 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@261 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove two build errors with extra object file included that is not needed.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@260 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add recovery plug support to ckpt.
	(Logical change 1.74)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@259 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-16  Steven Dake  <sdake@mvista.com>

	gmi.c:   Bug 44.   Fixes assertion in executive when running ckptbenchth.
	BKrev: 4148dc42NSqyi9F4s6exhsVarsF10Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@258 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Bug 44. Fixes assertion in executive when running ckptbenchth.
	(Logical change 1.73)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@257 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-15  Steven Dake  <sdake@mvista.com>

	main.c:   Call poll_destroy when executing ais_done.  This increases code   coverage from 66.9% to 82.3%.
	BKrev: 4148ac12oFAraidHBF8lhdpMgBXc1w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@256 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Call poll_destroy when executing ais_done.  This increases code coverage from 66.9% to 82.3%.
	(Logical change 1.72)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@255 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Increase code coverage from 19.4% to 100% by adding defines to remove debug print code in production builds.  Also removed function by ifdef that is never used in the project.
	(Logical change 1.71)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@254 fd59a12c-fef9-0310-b244-a6a79926bd2f

	print.c:   Increase code coverage from 19.4% to 100% by adding defines   to remove debug print code in production builds.  Also removed   function by ifdef that is never used in the project.
	BKrev: 4148a813APgP44Mw4XR-P--e0qYzTw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@253 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Increased code coverage of tlist.c from 74.5% to 95.9%.
	(Logical change 1.70)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@252 fd59a12c-fef9-0310-b244-a6a79926bd2f

	tlist.c:   Increased code coverage of tlist.c from 74.5% to 95.9%.
	BKrev: 4148a64akC3-Hr8RMOSHHChVWBYM5Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@251 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove unused code.
	(Logical change 1.69)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@250 fd59a12c-fef9-0310-b244-a6a79926bd2f

	crypto.h:   Remove unused code. crypto.c:   Remove unused code and change some error detection to assertions.   This increases code covergae from 80.2% to 92.7% with no change   in functionality.
	BKrev: 4148a3f73A3zw2reb3HkDh6RWIrcag


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@249 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove unused code and change some error detection to assertions. This increases code covergae from 80.2% to 92.7% with no change in functionality.
	(Logical change 1.69)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@248 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-10  Steven Dake  <sdake@mvista.com>

	BUG 37.  Fix several leaks during configuration changes.  Also fixes a possible assert with many large messages being sent from multiple processors at the same time.
	(Logical change 1.68)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@247 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   BUG 37.  Fix several leaks during configuration changes.  Also fixes   a possible assert with many large messages being sent from multiple   processors at the same time.
	BKrev: 4140fd9dwjk3xOLpFw3Ivhp0_f_oYw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@246 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-08  Steven Dake  <sdake@mvista.com>

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2004/09/08 01:11:43-07:00 mvista.com!sdake
	Code coverage support in build environment and test programs.

	Many files:
	  Add signal handler so code coverage records coverage
	Makefile:
	  Add code coverage build options and make clean target

	BKrev: 413ebecc_2LPT2fuaQZhw9BymLz6bQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@245 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add signal handler so code coverage records coverage
	(Logical change 1.67)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@244 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add code coverage build options and make clean target
	(Logical change 1.67)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@243 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-08  Steven Dake  <sdake@broked.org>

	Get rid of magic number 1500 and replace with PACKET_SIZE_MAX. Also fix a glaring memory overwrite bug in gmi_init which would init 256k of memory instead of PACKET_SIZE_MAX memory.
	(Logical change 1.66)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@242 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Get rid of magic number 1500 and replace with PACKET_SIZE_MAX.   Also fix a glaring memory overwrite bug in gmi_init which would   init 256k of memory instead of PACKET_SIZE_MAX memory.
	BKrev: 413e7bc48wgkqG1E4wSbG9KQkBJMkg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@241 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Steven Dake  <sdake@broked.org>

	EVS library makes compiler warning on some compilers.  Found and fixed by Sakai Miyotaka.
	(Logical change 1.65)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@240 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Mark Haverkamp  <markh@osdl.org>

	Merge
	2004/09/04 16:52:55-07:00 broked.org!sdake
	Makefile missing clean target for evs bench.  Found and fixed by Sakai Miyotaka.

	(Logical change 1.65)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@239 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Steven Dake  <sdake@broked.org>

	(Logical change 1.65)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@238 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Mark Haverkamp  <markh@osdl.org>

	Merge
	2004/09/06 13:30:28-07:00 broked.org!sdake
	Added man pages and html generation for the EVS interface.

	2004/09/04 16:54:20-07:00 broked.org!sdake
	One serious bug in AMF and a few minor nits fixed from patch
	from Sakai Miyotaka.
	Makefile:
	  Makefile missing clean target for evs bench.  Found and fixed by Sakai Miyotaka.
	evs.c:
	  EVS library makes compiler warning on some compilers.  Found and fixed by
	  Sakai Miyotaka.
	amf.c:
	  State change from standby-active to outofservice could
	  result in invalid number of active units.  Found and fixed by
	  Sakai Miyotaka.

	BKrev: 413dd134zK97xpVttMuRVm6GdcbQlg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@237 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Steven Dake  <sdake@broked.org>

	State change from standby-active to outofservice could result in invalid number of active units.  Found and fixed by Sakai Miyotaka.
	(Logical change 1.65)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@236 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@235 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-07  Mark Haverkamp  <markh@osdl.org>

	Clean up some comments code. (comments, old macro).
	(Logical change 1.64)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@234 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add return value to main.
	(Logical change 1.64)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@233 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Some code cleanup.
	BKrev: 413dd073MFU2gjJ72eQd8SOvDfpBwQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@232 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-09-02  Mark Haverkamp  <markh@osdl.org>

	Development, updates, and bug fixes to event service lib.
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@231 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added special SA_CLM_LOCAL_NODE_ID case to receive your own cluster node data.
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@230 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.63)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@229 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added event testing programs: evtbench, subscription, publish
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@228 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add in list_add_tail and list_empty functions
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@227 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Check to make sure that sequence ID passed into sq_item_inuse is valid.
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@226 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Event Service Implementation and fixes.
	BKrev: 41375569R3AaZBcK1LtaD9gt36SuLQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@225 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add event service message types.
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@224 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Completed most of the event service functionality.
	(Logical change 1.63)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@223 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@222 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-31  Steven Dake  <sdake@broked.org>

	Mark a bug for later resolution
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@221 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added the EVS service and changed the library queue to 256 entries.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@220 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Major rewrite of saRecvQueue.  Fixed is: activate poll messages are not sent over and over The message header is read into the return buffer if the message doesn't match, a new message is allocated This allows the message buffer for saRecvQueue to be small, but allows receiving very large messages.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@219 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add the evs library
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@218 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added the evs target.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@217 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This changeset includes major fixes to the IPC from the executive to the library.  Also included is an entirely new API called the EVS api (Extended Virtual Synchrony).  This API provides EVS semantics for those developers that require this model of programming.  The API is defined in include/evs.h and is very simple.
	The API provides:
	group semantics with 32 byte group keys.
	delivery callback
	configuration change callback
	join one or more groups
	leave one or more groups
	multicast a message to the instance's joined groups
	multicast a message to any other group

	Makefile:
	  Add the testevs and evsbench targets.
	evs.c, testevs.c, evsbench.c, evs.h:
	  new file
	Makefile:
	  Add the evs library
	util.c:
	  Major rewrite of saRecvQueue.  Fixed is:
	  activate poll messages are not sent over and over
	  The message header is read into the return buffer
	  if the message doesn't match, a new message is allocated
	  This allows the message buffer for saRecvQueue to be
	  small, but allows receiving very large messages.
	amf.c:
	  Mark a bug for later resolution
	ais_msg.h:
	  Add the evs messages and descriptors.
	Makefile:
	  Added the evs target.
	main.h:
	  Added the EVS service and changed the library queue
	  to 256 entries.
	main.c:
	  major rewrite of the IPC code for sending messages
	  to the library.  What was there previously was very
	  broken.
	gmi.c:
	  Fix bug where transition from multiple members to
	  single members would cause messages not to be sent.
	  Also fixed an assertion in transition from multiple
	  processors to one processor.

	BKrev: 41343518pVUD6aQu4urTw6ClPiOl3w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@216 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add the testevs and evsbench targets.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@215 fd59a12c-fef9-0310-b244-a6a79926bd2f

	major rewrite of the IPC code for sending messages to the library.  What was there previously was very broken.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@214 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add the evs messages and descriptors.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@213 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.62)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@212 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix bug where transition from multiple members to single members would cause messages not to be sent. Also fixed an assertion in transition from multiple processors to one processor.
	(Logical change 1.62)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@211 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@210 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-28  Steven Dake  <sdake@mvista.com>

	gmi.c:   Flush all multicast messages by delivering them before   processing the token.  This ensures that the mcast fd   doesn't buffer too many old messages and avoids an assert.
	BKrev: 412fd3cesE7M-pXl9OZs1X2CyK7Y4A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@209 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Flush all multicast messages by delivering them before processing the token.  This ensures that the mcast fd doesn't buffer too many old messages and avoids an assert.
	(Logical change 1.61)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@208 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-24  Steven Dake  <sdake@mvista.com>

	Add initial support for multipathing to group messaging.
	(Logical change 1.60)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@207 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change gmi interface to support multipathing.
	(Logical change 1.60)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@206 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change network configuration parser interface to support multipathing.
	(Logical change 1.60)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@205 fd59a12c-fef9-0310-b244-a6a79926bd2f

	parse.h:   Change network configuration parser interface to support   multipathing. gmi.h, main.c:   Change gmi interface to support multipathing. parse.c:   Change network configuration parser to read multiple interfaces. gmi.c:   Add initial support for multipathing to group messaging.
	BKrev: 412a981dC8TjKSqUYOtAx6jKoO-UlA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@204 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change network configuration parser to read multiple interfaces.
	(Logical change 1.60)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@203 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-24  Mark Haverkamp  <markh@osdl.org>

	Need to check the size of the response header here.
	(Logical change 1.59)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@202 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Need to check the size of the response header instead of the request header in saRecvQueue.
	BKrev: 412a6f3b4NlVb-n94TuM1jqiD4KUgA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@201 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-23  Steven Dake  <sdake@mvista.com>

	Clean up usage of ais_done.  This includes passing a value for each done type.  Also, libais_disconnect cleaned up so it doesn't ais_done when its queues are full.  Instead it disconnects the library connection.  A new connection state variable added to the conn_info structure in place of active.
	(Logical change 1.58)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@200 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Changed number of queueable messages to the library from 8192 to 128 messages.
	(Logical change 1.58)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@199 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use new connection enumeration with AMF code.
	(Logical change 1.58)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@198 fd59a12c-fef9-0310-b244-a6a79926bd2f

	main.h:   Changed number of queueable messages to the library from 8192   to 128 messages. main.c:   Clean up usage of ais_done.  This includes passing a   value for each done type.  Also, libais_disconnect cleaned up   so it doesn't ais_done when its queues are full.  Instead it   disconnects the library connection.  A new connection state   variable added to the conn_info structure in place of active. amf.c:   Use new connection enumeration with AMF code.
	BKrev: 41297f85ZsPdr8oHUfjQ6v_A6b6ybw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@197 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Missed commit to changes for queue.h.
	(Logical change 1.57)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@196 fd59a12c-fef9-0310-b244-a6a79926bd2f

	queue.h:   Missed commit to changes for queue.h. ais_msg.h:   Missed commit of changes to ais_msg.h.
	BKrev: 41292695YG_qjNyfkNoFlMFaeiR7zg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@195 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Missed commit of changes to ais_msg.h.
	(Logical change 1.57)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@194 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control documentation to devmap. .l
	2004/08/22 15:24:25-07:00 mvista.com!sdake
	Add event service to devmap.

	(Logical change 1.56)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@193 fd59a12c-fef9-0310-b244-a6a79926bd2f

	README.devmap:   Add flow control documentation to devmap.   Add event service to devmap.
	BKrev: 412922454HMPjB41f5bgMaos4soalg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@192 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-21  Steven Dake  <sdake@mvista.com>

	Cleanup errors in Makefile.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@191 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change interface so there is a new libais_handler structure.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@190 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for flow control to amf library.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@189 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support to group messaging to get flow control information.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@188 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control support to the checkpoint benchmark program.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@187 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Flow control changes.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@186 fd59a12c-fef9-0310-b244-a6a79926bd2f

	testamf3.c:   misc flow control changes. ckptbenchth.c:   Retry checkpoint writes on threaded writes if SA_ERR_TRY_AGAIn   received. ckptbench.c:   Add flow control support to the checkpoint benchmark program. util.c:   Add flow control to saRecvQueue function. evt.c:   Add flow control to eventing. clm.c:   Add flow control to cluster membership. ckpt.c:   Add flow control to checkpointing. amf.c:   Add flow control to amf. Makefile:   Cleanup errors in Makefile. main.h:   Flow control changes. handlers.h:   Change interface so there is a new libais_handler structure. gmi.h:   Add support to group messaging for another priority level. main.c:   Add support to disconnect and dispatch to utilize flow control. gmi.c:   Add support to group messaging to get flow control information. evt.c:   Add support to eventing for flow control. clm.c:   Add support to clm for flow control. ckpt.c:   Add support for flow control to ckpt library. amf.c:   Add support for flow control to amf library.
	BKrev: 412678baBKkyszbWcphf0Vg85SpLXg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@185 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Retry checkpoint writes on threaded writes if SA_ERR_TRY_AGAIn received.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@184 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support to group messaging for another priority level.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@183 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control to eventing.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@182 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control to cluster membership.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@181 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support to eventing for flow control.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@180 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support to disconnect and dispatch to utilize flow control.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@179 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control to amf.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@178 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for flow control to ckpt library.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@177 fd59a12c-fef9-0310-b244-a6a79926bd2f

	misc flow control changes.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@176 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control to saRecvQueue function.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@175 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add flow control to checkpointing.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@174 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support to clm for flow control.
	(Logical change 1.55)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@173 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-14  Steven Dake  <sdake@broked.org>

	Add priority to poll abstraction Higher priority items will be serviced first
	(Logical change 1.54)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@172 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Priorites added to dispatch function.  This is in prep for flow control to allow dispatch functions that haven't been serviced in awhile to be bumped up in priority when they are not serviced.
	The priority of the dispatch handler is passed to the dispatch
	function which can modify it in place.  The new priority will be
	used the next time the poll system call is executed.

	main.c:
	  Add library accept handler at lowest priority
	gmi.c:
	  Make gmi highest priority when adding dispatch functions
	aispoll.h, aispoll.c:
	  Add priority to poll abstraction
	  Higher priority items will be serviced first

	BKrev: 411dda8dXGsq4glmjj36km40YZhjCA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@171 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make gmi highest priority when adding dispatch functions
	(Logical change 1.54)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@170 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add library accept handler at lowest priority
	(Logical change 1.54)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@169 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-10  Steven Dake  <sdake@broked.org>

	gmi.c:   When 2 processors are part of the configuration, then one   of the members leaves, then a new configuration occurs   with 2 or more members, the "joined" list was not   being properly passed to the rest of the executive   services.  This bug fixed.
	BKrev: 41185349SwUWKZU-QQ_K91jAnvqYpA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@168 fd59a12c-fef9-0310-b244-a6a79926bd2f

	When 2 processors are part of the configuration, then one of the members leaves, then a new configuration occurs with 2 or more members, the "joined" list was not being properly passed to the rest of the executive services.  This bug fixed.
	(Logical change 1.53)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@167 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-08-09  Steven Dake  <sdake@mvista.com>

	Add encryption and authentication to GMI.
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@166 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add encryption and authentication to all messages so that messages are secret and are always known to come from a source that knows the private key.
	SECURITY:
	  Describe latest security system using SOBER, SHA1, and HMAC.
	QUICKSTART:
	  Add details to creating security key to quickstart guide.
	LICENSE:
	  Add libtomcrypt's license text for crypto.c and crypto.h
	Makefile:
	  Add crytpo features to makefile
	gmi.h:
	  Add ability to pass key and keylen to gmi_init.
	  Add ability to set security logging value.
	gmi.c:
	  Add encryption and authentication to GMI.

	BKrev: 4117ed75MEkDZv2CoCUYGolBNHy17Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@165 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add details to creating security key to quickstart guide.
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@164 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ability to pass key and keylen to gmi_init. Add ability to set security logging value.
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@163 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add libtomcrypt's license text for crypto.c and crypto.h
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@162 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add crytpo features to makefile
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@161 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.52)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@160 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Describe latest security system using SOBER, SHA1, and HMAC.
	(Logical change 1.52)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@159 fd59a12c-fef9-0310-b244-a6a79926bd2f

	keygen.c, crypto.h, crypto.c: New files for cryptography support.
	BKrev: 4117ecc6HWTXJ7DG7UZ3E01aKajTBA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@158 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.51)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@157 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@156 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-30  Mark Haverkamp  <markh@osdl.org>

	Fix compiler warning
	(Logical change 1.50)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@155 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix compiler warning
	BKrev: 410a8aa45tOLcJaeS6TU0H7l55hYiQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@154 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix queue items memory leak.
	(Logical change 1.49)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@153 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix queue items memory leak.
	BKrev: 410a8a1arpYlwWZY9PRvbEkRYy7zkQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@152 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-30  Steven Dake  <sdake@mvista.com>

	Change RecvQueue to use a stack structure for receiving the response instead of passing in the maximum sized value for a response message.
	(Logical change 1.48)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@151 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean up RecvQueue users and pass in actual buffer instead of "overly large" buffer which has changed because of changes to util.c Also cleaned up memory leak in the dispatch function.
	(Logical change 1.48)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@150 fd59a12c-fef9-0310-b244-a6a79926bd2f

	util.c:   Change RecvQueue to use a stack structure for receiving the   response instead of passing in the maximum sized value for a   response message. ckpt.c:   Change all RecvQueue users to use RecvRetry since there is no   reason to queue out of order messages. amf.c:   Clean up RecvQueue users and pass in actual buffer instead   of "overly large" buffer which has changed because of changes   to util.c   Also cleaned up memory leak in the dispatch function.
	BKrev: 4109819b_adTTm4cCZmfLJcsYb9hyA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@149 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change all RecvQueue users to use RecvRetry since there is no reason to queue out of order messages.
	(Logical change 1.48)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@148 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-29  Steven Dake  <sdake@mvista.com>

	(Logical change 1.47)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@147 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add function in exec/clm to get the full cluster node information for any node in the cluster membership
	(Logical change 1.47)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@146 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-29  Mark Haverkamp  <markh@osdl.org>

	Merge bk://bk.osdl.org/openais into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_stage
	2004/07/29 12:26:46-07:00 mvista.com!sdake
	clm.c:
	  Add function in exec/clm to get the full cluster node information
	  for any node in the cluster membership

	BKrev: 410955capPzVdVwzpMJetS80seWS7g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@145 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added event code and dependencies.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@144 fd59a12c-fef9-0310-b244-a6a79926bd2f

	added event message types and associated data structures.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@143 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Event service data types.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@142 fd59a12c-fef9-0310-b244-a6a79926bd2f

	This adds the start of the AIS event service code.  The library code is mostly complete.  The aisexec part just has placeholders for now and will be filled in later.
	BKrev: 410944e7-oXL5OZSJvizPPH9dGS2GA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@141 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added event library and depend target.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@140 fd59a12c-fef9-0310-b244-a6a79926bd2f

	added event service handler.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@139 fd59a12c-fef9-0310-b244-a6a79926bd2f

	added event service.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@138 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added clustTimeNow to get current time in nanoseconds.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@137 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Added event test program and depend target.
	(Logical change 1.46)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@136 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.46)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@135 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@134 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-29  Steven Dake  <sdake@mvista.com>

	README.devmap:   Document new changes to exec handler function prototype   and recommend using the source_addr for deferring requests   instead of recording the ip address in the message itself. main.c, handlers.h, clm.c, ckpt.c, amf.c:   Add source_addr to exec message handler for event service.
	BKrev: 41082a5cY6cLQK7NG_rxZrkb7lERfw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@133 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Document new changes to exec handler function prototype and recommend using the source_addr for deferring requests instead of recording the ip address in the message itself.
	(Logical change 1.45)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@132 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add source_addr to exec message handler for event service.
	(Logical change 1.45)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@131 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-28  Steven Dake  <sdake@mvista.com>

	Major cleanup and use hdb.c abstracted out functions now instead of internal hacked together stuff that was there previously.
	(Logical change 1.44)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@130 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove "old-style" handle database code from aispoll.c and include instead hdb.c/hdb.h.  These files are copies of the handle database code used for the library without mutexes.
	This work for Mark Haverkamp to use the handle database functionality
	as part of the event service.

	BKrev: 4106e5a7ANCdXqe3zoIfO1tcYyrQhQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@129 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Major cleanup to use hdb.c handle database functions.
	(Logical change 1.44)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@128 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add hdb.c to the build.
	(Logical change 1.44)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@127 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.44)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@126 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@125 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove handle state and handle instance information. Also cleanup saHandleCreate to return unsigned int handle instead of int handle.
	(Logical change 1.43)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@124 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Hide handle state and handle instance information in this file instead of in global header file.
	(Logical change 1.43)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@123 fd59a12c-fef9-0310-b244-a6a79926bd2f

	util.h:   Remove handle state and handle instance information.   Also cleanup saHandleCreate to return unsigned int   handle instead of int handle. util.c:   Hide handle state and handle instance information   in this file instead of in global header file.
	BKrev: 4106e4d1-Ntb973S5ymyNwgL6e0PDw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@122 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-27  Steven Dake  <sdake@mvista.com>

	Remove BINDTODEVICE socket option and replace with MULTICAST_IF to be more portable and require less root privs.
	(Logical change 1.42)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@121 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Remove BINDTODEVICE socket option and replace with MULTICAST_IF   to be more portable and require less root privs.
	BKrev: 410583008afZgkQ66_jDep-8pFf_nw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@120 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-24  Steven Dake  <sdake@mvista.com>

	Additional information for using the saRecvQueue call in a library.
	(Logical change 1.41)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@119 fd59a12c-fef9-0310-b244-a6a79926bd2f

	README.devmap:   Additional information for using the saRecvQueue call in a   library.
	BKrev: 41018de8tOmRhu_QtrtzbSGzWHSMKA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@118 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-21  Steven Dake  <sdake@mvista.com>

	(Logical change 1.40)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@117 fd59a12c-fef9-0310-b244-a6a79926bd2f

	SECURITY:   Description of the security policy of the openais project.  Includes a   description of the techniques used in openais.
	BKrev: 40fdaf10zR42cuBrfB9UB-Bc-edNsQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@116 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@115 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-15  Steven Dake  <sdake@mvista.com>

	Major improvements to fragmentation.  It works alot better now.
	(Logical change 1.39)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@114 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Major improvements to quality in the GMI.  Previously with 12 processors and running ckptstress from two nodes, one node would fail to make forward progress.  Sometimes the nodes would assert or crash.  All the fragmentation code has been rewritten to be more stable and of better design (at the cost of a little more memory).
	BKrev: 40f5c9b6KnXRw3_UyUgLV-cIvI7YpA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@113 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-13  Steven Dake  <sdake@mvista.com>

	Allow NULL delivery_fn in gmi_join.  This basically has no effect but allows the processor to participate in multicasting and membership.
	(Logical change 1.38)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@112 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Allow NULL delivery_fn in gmi_join.  This basically has no   effect but allows the processor to participate in multicasting   and membership.
	BKrev: 40f419f8lTr8W134C7CXrtXRnzoMzw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@111 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Extraneous tokens were not being rejected on token retransmits that occurred during configuration changes.  The result was bad behavior, especially with larger rings.  Also cleaned up the token retransmit timer to be deleted if necessary.
	(Logical change 1.37)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@110 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Extraneous tokens were not being rejected on token retransmits   that occurred during configuration changes.  The result was bad   behavior, especially with larger rings.  Also cleaned up the   token retransmit timer to be deleted if necessary.
	BKrev: 40f419afbeZlmKywfUpsrDkU5kMnHg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@109 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ip to deliver_fn callback
	(Logical change 1.36)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@108 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ip to deliver_fn callback
	BKrev: 40f35c58ypi89e5Nq53F73OF8QGakA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@107 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ip to deliver_fn callback Add ip to deliver_fn callback Add ip to deliver_fn callback
	(Logical change 1.36)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@106 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Removed something that was necessary in last changeset.
	(Logical change 1.35)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@105 fd59a12c-fef9-0310-b244-a6a79926bd2f

	gmi.c:   Removed something that was necessary in last changeset.
	BKrev: 40f35ba0CGzAzJZVAZx-QxSIYzQlNQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@104 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-12  Steven Dake  <sdake@mvista.com>

	gmi.c:   Fix debug exit.
	BKrev: 40f3069ao4cKWSuICZHrMdMIqJDlMw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@103 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix debug exit.
	(Logical change 1.34)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@102 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Merge sdake@bk.osdl.org:/var/bk/openais into persist.az.mvista.com:/home/sdake/openais
	2004/07/12 14:40:19-07:00 mvista.com!sdake
	gmi.c:
	  When a processor left the membership, the next configuration would sometimes
	  cause a form token timeout.  While not particularly harmful, it was wasteful
	  and not part of the original design of the group messaging protocol.
	  There was some extra junk code that was added to workaround some other bug
	  that has since been fixed.
	  This junk code removed and now the form token never times out (woohoo).
	  Also removed some extra code that calculates the next ORF processor twice.
	  We only really need to do it once.

	BKrev: 40f3054fipDDp-KdB8CJpzw0vS3PfA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@101 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Auto merged
	2004/07/12 14:37:13-07:00 mvista.com!sdake
	When a processor left the membership, the next configuration would sometimes
	cause a form token timeout.  While not particularly harmful, it was wasteful
	and not part of the original design of the group messaging protocol.
	There was some extra junk code that was added to workaround some other bug
	that has since been fixed.
	This junk code removed and now the form token never times out (woohoo).
	Also removed some extra code that calculates the next ORF processor twice.
	We only really need to do it once.

	(Logical change 1.33)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@100 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-12  Steven Dake  <sdake@broked.org>

	Retransmit orf token if no multicast or token received within a timeout period.  This could mean that the token was lost, but no configuration change has really occured.  Rather then execute the heavyweight membership protocol, just retry the token and if it fails after the token timeout, execute a configuration change sequence.
	BKrev: 40f21082dvUxH0aOPvKmpqoqlkEgEA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@99 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add retransmit of token if no multicast or token received within a timeout period (100 msec).  This helps avoid a reconfiguration when only the token is lost, but no real configuration changes have occured.
	(Logical change 1.32)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@98 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Changeset 1.22 introduced problem with managing messages in the sort queue.  The result was memory leakage.
	(Logical change 1.31)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@97 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix memory leak introduced in changeset 1.22.
	BKrev: 40f20a301E28mF_1r27z43zk2MqHeA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@96 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-11  Steven Dake  <sdake@mvista.com>

	Clean up warnings found with -pedantic.
	BKrev: 40f0eaa4fMlsgdXtJH-HQEl5nRh78Q


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@95 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean up warnings found with -pedantic.
	(Logical change 1.30)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@94 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Changed references to C99 initializers after pedantic cleanup
	(Logical change 1.30)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@93 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-10  Steven Dake  <sdake@mvista.com>

	Removes the external dependency from the gmi to the global variable this_ip.  This is still passed in for gmi_init users to be notified of which IP was selected, but copied for local use.
	BKrev: 40ef692cfv-e5JCQ8T9iC-_i3AaBcg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@92 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fixes build problem with rename of aispoll.c.
	(Logical change 1.29)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@91 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Removes this_ip external dependency and instead copies the bound to address to storage local to the group messaging interface.
	(Logical change 1.29)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@90 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-09  Steven Dake  <sdake@mvista.com>

	Rename: exec/poll.h -> exec/aispoll.h
	}(Logical change 1.28)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@89 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename aispoll.h so that people using the aispoll header file do not collide with sys/poll.h.
	BKrev: 40ef0fadvg4jQb-J9VhBM25mh_mdMQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@88 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename: exec/poll.h -> exec/aispoll.h
	(Logical change 1.28)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@87 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename: exec/poll.c -> exec/aispoll.c
	(Logical change 1.28)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@86 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename: exec/poll.c -> exec/aispoll.c
	}(Logical change 1.28)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@85 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Rename poll.h to aispoll.h
	(Logical change 1.28)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@84 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@83 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-08  Steven Dake  <sdake@mvista.com>

	Fix a merge problem with the previous update to the amf with the conn_info structure. the track list was not being initialized at start.
	(Logical change 1.27)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@82 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix merge bugs from changeset 1.23.
	BKrev: 40edb2ddF4jV4bxQYmbXj7nCSPCe2w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@81 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix a couple merge problems with the previous update to clm with the conn_info structure. the track list was not being initialized.  When track start was called the tracking wasn't added to a list.  When track stop was called the tracking was not deleted. The result of all this is that cluster membership tracking was broken previously.
	(Logical change 1.27)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@80 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Development documentation update.  After reading these docs, it should be possible to add a service to the AIS.
	(Logical change 1.26)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@79 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Learn how to develop an AIS service with README.devmap.
	BKrev: 40eda440k9_Mia7kFQvGzgthaN_bWQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@78 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix build errors after previous commit.
	(Logical change 1.25)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@77 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Cleanup last commit so build occurs properly.
	BKrev: 40ec739f-StbBZFtCXNnVcEbdIqOYg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@76 fd59a12c-fef9-0310-b244-a6a79926bd2f

	pass conn_info to all messages instead of file descriptor. This requires changing the initialization phase of the socket and all calls made.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@75 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Big cleanup of executive to pass connection info by reference instead of having connection info as an array seperate from the poll interface. This makes the code alot cleaner and easier to read, plus removes duplicated code in the connection array management.
	BKrev: 40ec72dd7wKGeQDubAA6lmUMc7JjOQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@74 fd59a12c-fef9-0310-b244-a6a79926bd2f

	update todo by removing completed items.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@73 fd59a12c-fef9-0310-b244-a6a79926bd2f

	store conn_info field is component structure.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@72 fd59a12c-fef9-0310-b244-a6a79926bd2f

	pass conn_info to all messages instead of file descriptor.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@71 fd59a12c-fef9-0310-b244-a6a79926bd2f

	pass conn_info to all messages instead of file descriptor. this requires removing the connection structure and replacing with the conn_info structure.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@70 fd59a12c-fef9-0310-b244-a6a79926bd2f

	when gmi.c changed, full project would not always be rebuilt fixed this issue.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@69 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Run full tests instead of writing a bunch of checkpoints.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@68 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add track active variable to keep track of active connections.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@67 fd59a12c-fef9-0310-b244-a6a79926bd2f

	cleanup valgrind warnings.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@66 fd59a12c-fef9-0310-b244-a6a79926bd2f

	change message source to use conn_info field instead of fd. Also removed a few unneeded calls which were moved to the amf.c file.
	(Logical change 1.24)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@65 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-07  Steven Dake  <sdake@mvista.com>

	Change memcpy to memmove to quiet down valgrind.
	(Logical change 1.23)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@64 fd59a12c-fef9-0310-b244-a6a79926bd2f

	valgrind found an off-by-one error in message frees that could lead to corruption. l
	(Logical change 1.23)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@63 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Clean up some errors found with valgrind 2.1.1.
	BKrev: 40ec6721IO7rAWx1t4cNnFNTugIZ1A


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@62 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Get rid of some errors from valgrind by initializing variables.
	(Logical change 1.23)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@61 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-06  Steven Dake  <sdake@mvista.com>

	Remove extra unused parameter to exec messages.
	(Logical change 1.22)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@60 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Remove extra parameter to exec messages.
	(Logical change 1.22)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@59 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Every exec message was of the prototype int func (int fd, void *msg). The "int fd" was not used by an executive message and was dead code from a previous implementation.  This dead parameter removed from the tree.
	BKrev: 40eb05fa_UbGyISyMyNciMoGXAXDeg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@58 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add activate poll message.
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@57 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use new APIs for handle reference counting
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@56 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change clunky locking used in library APIs to use reference counting instead.  A BIG thanks to Chris Friesen who provided the initial ideas, additional comments and more ideas leading up to the commit.
	BKrev: 40eafcb50VMDbK4i9ZEiu0_90gFlPQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@55 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix example to use component names in example service group.
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@54 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Change activate poll definitions to be generic instead of AMF specific.
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@53 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Use new APIs for handle reference counting.
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@52 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add activate poll message
	(Logical change 1.21)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@51 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix segfault during membership changes with multiple leaves at the same time.
	BKrev: 40eaeec3CJrXaOzED0qddXmUUurQdg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@50 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Wrong value being used to determine leave list, resulting in a memcpy with a -1 value in some cases, and the incorrect memcpy in other cases.
	(Logical change 1.20)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@49 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-07-01  Steven Dake  <sdake@mvista.com>

	With a two node cluster and one node killed, the remaining node didn't sent the appropriate configuration changes to the clm API or to the rest of the services.
	(Logical change 1.19)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@48 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix two node cluster membership event not appearing on leave problem reported by Chris Friesen.
	BKrev: 40e477d75L2YauKHr18UGUlPGfAEoA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@47 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove dead code.
	BKrev: 40e451f2-IOwwPNaNm65NetyBme-nw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@46 fd59a12c-fef9-0310-b244-a6a79926bd2f

	remove dead code.
	(Logical change 1.18)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@45 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-30  Steven Dake  <sdake@mvista.com>

	The group messaging interface has been exported as a library for use in other programs.  The key interfaces are exec/gmi.h and exec/poll.h. gmi.h describes the interface for group messaging, while poll.h describes the interface for abstracting poll system call with timers and integrated with gmi. By including these headers in programs and linking with libgmi, it is possible to use the virtual synchrony layer (group messaging interface) used in AIS for other applications.
	BKrev: 40e30f7bM1KpRbp3-Bf2qVPRH1EsFA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@44 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initialize logging function in group messaging interface.
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@43 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Build gmi static and shared library for use in other programs.
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@42 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add logging function init interface.
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@41 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ability to pass in logging function for people that want to use their own logging functions in their own programs.
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@40 fd59a12c-fef9-0310-b244-a6a79926bd2f

	add debug checking version of logging function.
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@39 fd59a12c-fef9-0310-b244-a6a79926bd2f

	make clean didn't remove ckptbench and ckptbenchth binaries
	(Logical change 1.17)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@38 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Chris Friesen reported the testamf programs don't work correctly. Error in description of quickstart guide about how they should work which has been corrected. Also added information about using the ckptbench and ckptbenchth programs to benchmark checkpoint writes.
	(Logical change 1.16)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@37 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.16)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@36 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Modify QUICKSTART to clarify how testamf{1-6} work and added some text about using the ckptbench and ckptbenchth test programs.  Also added the ckptbench and ckptbenchth programs to the build environment.
	BKrev: 40e26a810DYCs3LU79Ne-q51pO2TgA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@35 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add ckptbench and ckptbenchth targets
	(Logical change 1.16)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@34 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@33 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-29  Steven Dake  <sdake@mvista.com>

	Cluster membership API not being authenticated by openais executive. This results in testclm locking on start in saClmInitialize.
	BKrev: 40e095e4VUojyuQYOBeAUqjZnbBTCA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@32 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix cluster membership API not being authenticated bug.
	(Logical change 1.15)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@31 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-27  Steven Dake  <sdake@mvista.com>

	Make bind to a device really work properly.  Now it is possible to specify the bind network and the networking will take place over that interface.
	(Logical change 1.14)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@30 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add priv drop so process doesn't have to run as root in order to lock, set RR 99, and bind to a specific ethernet interface for multicast.
	(Logical change 1.14)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@29 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Make binding to a specific network really work.  Also added priv dropping so process doesn't have to run as root for process lifetime.
	BKrev: 40df35a4eUCTfC660C7oBwg-P9YE2g


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@28 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-23  Steven Dake  <sdake@mvista.com>

	Yixiong Zou reported a problem where on some OSes the aisexec couldn't join the multicast group.  This problem fixed.  Also changed binding rules for sockets relating to the group messaging. see detailed changlogs for more details.
	BKrev: 40d9efacQooUDhv3APjn55QVVjMueg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@27 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix binding rules so that instead of binding to INADDR_ANY for UDP sockets, bind to specific interface defined in network.conf. This is done by creating two fds.  gmi_fd_token is used for all token communication.  gmi_fd_mcast is used for all mcast communication.  I'm not sure if gmi_fd_mcast binding rules is correct.  Once work begins on multipathing, this will have to be figured out :)
	2004/06/23 13:55:52-07:00 mvista.com!sdake
	Use portable mreq instead of mreqn when joining the multicast
	group.

	(Logical change 1.13)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@26 fd59a12c-fef9-0310-b244-a6a79926bd2f

	QUICKSTART:   Modified quickstart guide thanks to comments from Yixiong Zou   Information about adding groups added   Information about testclm blocking until cluster membership   event occurs added.
	BKrev: 40d920ffgjnZO35fZ2d947AV5TWGWQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@25 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Modified quickstart guide thanks to comments from Yixiong Zou Information about adding groups added Information about testclm blocking until cluster membership event occurs added.
	(Logical change 1.12)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@24 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-21  Steven Dake  <sdake@mvista.com>

	Buffer with message data used outside lock.  This creates a possible race where data from another response could be used to execute a dispatch.
	2004/06/21 00:59:54-07:00 mvista.com!sdake
	Remove double pthread_mutex_unlock on saAmfDispatch routine.  Unlock could
	unlock another thread's unlock midthread.

	(Logical change 1.11)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@23 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix race with saClmDispatch where two threads could race for access to the response data from the AIS Executive.
	(Logical change 1.11)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@22 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix race relating to threads and saClmDispatch/saAmfDispatch.
	BKrev: 40d6977ewZ8VFYD8mJyEaPWxg0tI7w


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@21 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-20  Steven Dake  <sdake@mvista.com>

	Add support for C++ linkage to cluster membership API. Without this change, C++ programs will not link to the library.
	BKrev: 40d53e4bzcKNiPnfX523_065NBw4gg


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@20 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Add support for C++ linkage to cluster membership APIs.
	(Logical change 1.10)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@19 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Port not actually set to correct port as found with tcpdump.
	BKrev: 40d53d26QDtzR8msp2zMvJ-9Mq6-Tw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@18 fd59a12c-fef9-0310-b244-a6a79926bd2f

	x86 was not setting port to network byte order, which resulted in port being byte swapped.  This of course, doesn't work well with xscale boards.
	(Logical change 1.9)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@17 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-18  Steven Dake  <sdake@mvista.com>

	quickstart gives incorrect info about multicast addresses, now corrected.
	BKrev: 40d35b80BGcr_8TvtSlrbEZBn14zZA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@16 fd59a12c-fef9-0310-b244-a6a79926bd2f

	fix error in quickstart
	(Logical change 1.8)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@15 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix single-node AMF assertion failure (cause runaway recursion).
	BKrev: 40d22e42IsByk3WqoRIGSlETLqdUgw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@14 fd59a12c-fef9-0310-b244-a6a79926bd2f

	single node AMF would fail because of a recursion bug.  Removed the recursion by queueing single node message delivery as a timer with 0 timeout.  This was happening before, but the logic was wrong.
	(Logical change 1.7)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@13 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-17  Steven Dake  <sdake@mvista.com>

	Crash when no network.conf file present (missing error checking).
	(Logical change 1.6)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@12 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix crash when error reading network.conf file.
	BKrev: 40d21314UfLNnjjrMSt_4U9rJZSVHA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@11 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Fix bug in membership protocol where form token sometimes times out because the initial send of the token is sent to the wrong address.
	2004/06/16 15:42:49-07:00 mvista.com!sdake
	Performance enhancements: Allow more messages to be multicast per
	token possession to reach 8.8MB/sec checkpoint performance without
	remcasts.  Trim gather/commit timeouts to 100 msec to speed up the
	membership gathering process.

	(Logical change 1.5)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@10 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Bug fix and performance enhancements to the group messaging protocol.
	BKrev: 40d0cebf3iPVrudikdxGEhhTs-CQMw


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@9 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-16  Steven Dake  <sdake@mvista.com>

	QUICKSTART:   Test change
	BKrev: 40cfe45fPOa0mbN6jPO9bRiSG_tZWA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@8 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Test change
	(Logical change 1.4)


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@7 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-16  John Cherry  <cherry@osdl.net>

	Import changeset
	BKrev: 40cf759cAkpvgQbZ43nWNRClHYqlXQ


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@6 fd59a12c-fef9-0310-b244-a6a79926bd2f

	(Logical change 1.3)
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@5 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@4 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-16  cem  <cem@osdl.net>

	Initial repository create
	BKrev: 40cf7521T7yNtYdteqiCUMgD7RdOCA


	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@3 fd59a12c-fef9-0310-b244-a6a79926bd2f

	Initial revision
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2 fd59a12c-fef9-0310-b244-a6a79926bd2f

2004-06-16  Steven Dake  <sdake@broked.org>

	New repository initialized by cvs2svn.
	git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1 fd59a12c-fef9-0310-b244-a6a79926bd2f
