]>
git.proxmox.com Git - mirror_corosync.git/log
Fabio M. Di Nitto [Wed, 25 Jan 2012 11:08:47 +0000 (12:08 +0100)]
votequorum: change quorum.expected_votes override behavior
as agreed on the mailing list, quorum.expected_votes should override
automatically calculated expected_votes from nodelist.
Also simplify the code to handle expected_votes. "silly defaults" is now
unnecessary because votequorum does config sanity checks upfront.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Wed, 25 Jan 2012 05:55:29 +0000 (06:55 +0100)]
votequorum: two_node should enable wait_for_all by default
This avoids fencing races at startup of a cluster.
It is still possible to override WFA by explicitly setting
wait_for_all: 0
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Tue, 24 Jan 2012 13:00:19 +0000 (00:00 +1100)]
CTS: make basic tests config-generic
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Tue, 24 Jan 2012 12:20:39 +0000 (23:20 +1100)]
CTS: fix starting/stopping of test_agents
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 02:51:32 +0000 (13:51 +1100)]
CTS: tidy up the shutdown of cpg_test_agent
it is not neccessary to close the fd and remove it
from the mainloop
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Tue, 24 Jan 2012 12:57:31 +0000 (23:57 +1100)]
CTS: temp comment out quorum tests
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Tue, 24 Jan 2012 12:21:04 +0000 (23:21 +1100)]
CTS: fix quourm command
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 04:19:31 +0000 (15:19 +1100)]
CTS: fix up the formt strings
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Tue, 24 Jan 2012 12:54:17 +0000 (23:54 +1100)]
Add debug log messages to corosync for join/leave
This is needed by cts.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 05:51:55 +0000 (16:51 +1100)]
LOG: make sure that debug works to syslog
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Tue, 24 Jan 2012 12:38:47 +0000 (13:38 +0100)]
totemiba: Remove unused wthread.h include
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Jan Friesse [Tue, 24 Jan 2012 12:33:48 +0000 (13:33 +0100)]
Make xmlconf in SPEC conditional
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 22:46:40 +0000 (09:46 +1100)]
Change the last references from objctl to cmapctl
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto [Mon, 23 Jan 2012 10:12:28 +0000 (11:12 +0100)]
Update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Mon, 23 Jan 2012 10:06:47 +0000 (11:06 +0100)]
votequorum: add support for nodelist config bits
expected votes is now calculated automatically and quorum.expected_votes
can be used to override nodelist calculation. The highest of the two
value is used for runtime.
quorum_votes can be specified either in the node list or in quorum.votes.
The node list has priority over global.
propagate votequorum initalization errors (due to config inconsistencies)
back to vsf_quorum.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 01:31:59 +0000 (12:31 +1100)]
Remove all unneccessary "\n" from log messages
These look ugly, are inconsistently done and just have
to be removed later in libqb before calling syslog.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 01:02:55 +0000 (12:02 +1100)]
Shorten some really long lines in main.c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:35:23 +0000 (11:35 +1100)]
cmap: add a delete with prefix (needed by cts)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:32:22 +0000 (11:32 +1100)]
cmap: change -t and -T around (capital == with prefix)
I want to add a prefic delete option and then these will
not be consistent.
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:29:46 +0000 (11:29 +1100)]
cmap: tweek the usage text
1) It wasn't obvious to me what -b did
2) -a has been removed
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:27:56 +0000 (11:27 +1100)]
cmap: add a load option for cts "-p"
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:15:32 +0000 (11:15 +1100)]
CTS: convert the test agents to use qb logging
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Mon, 23 Jan 2012 00:01:06 +0000 (11:01 +1100)]
CTS: fix the corosync start/stop settings
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Sun, 22 Jan 2012 23:59:50 +0000 (10:59 +1100)]
CTS: set the syslog restart commands up correctly
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 19 Jan 2012 12:58:07 +0000 (13:58 +0100)]
Add nodelist informations to manual page
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 19 Jan 2012 12:40:16 +0000 (13:40 +0100)]
Make local_node ring0 address read-only
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 19 Jan 2012 10:26:10 +0000 (11:26 +0100)]
Support for dynamic nodelist udpu member change
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 19 Jan 2012 10:06:56 +0000 (11:06 +0100)]
Use nodeid provided in nodelist
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 19 Jan 2012 09:51:56 +0000 (10:51 +0100)]
Support udpu members in nodelist
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Wed, 18 Jan 2012 14:29:10 +0000 (15:29 +0100)]
Add local_node_pos icmap key
Key contains local node position in nodelist
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Wed, 18 Jan 2012 11:05:57 +0000 (12:05 +0100)]
Parse nodelist in coroparse
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Wed, 18 Jan 2012 14:22:51 +0000 (15:22 +0100)]
mon: Remove leftover print of debug output to err
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Jan Friesse [Mon, 16 Jan 2012 13:09:11 +0000 (14:09 +0100)]
Set default multicast port if not specified
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 19 Jan 2012 12:37:13 +0000 (13:37 +0100)]
votequorum: drop protocol versioning in favour of extra space on the wire
protocol needs to stay compatible across a corosync MAJOR release.
Implementing internal protocol version compat is at best suicidal.
Add extra space to the net struct and we can use flags to determine
feature sets.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Angus Salkeld [Wed, 18 Jan 2012 12:34:36 +0000 (23:34 +1100)]
autobuild: make sure systemd is enabled on f15+
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reriewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Wed, 18 Jan 2012 12:17:01 +0000 (23:17 +1100)]
autobuild: ssh into node as root
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com
Angus Salkeld [Wed, 18 Jan 2012 12:13:49 +0000 (23:13 +1100)]
Fix spec file when passed "--with-testagents"
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld [Wed, 18 Jan 2012 12:10:22 +0000 (23:10 +1100)]
CTS: remove the test service agent
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Wed, 18 Jan 2012 05:16:31 +0000 (06:16 +0100)]
votequorum: ifdef qdiskd API out
as agreed, the API has not been tested yet. Adding later is better than
removing it.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 21:35:08 +0000 (22:35 +0100)]
votequorum: be slightly more efficent and consistent
reduce req_exec_quorum_nodeinfo from 40 to 16 bytes (onwire)
add 4 bytes to req_exec_quorum_reconfigure to be consisent
with feature/version checking (onwire data)
make all nodeid definition "unsigned int" instead of some random mix.
reduce size of different vars
remove lots of unnecessary swab due to reducing size of data
drop join_time from cluster_node, it's never used
fix printing of nodeids from random mix to uint for consistency
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Jan Friesse [Mon, 16 Jan 2012 15:00:09 +0000 (16:00 +0100)]
Update TODO with recent mcast addr changes
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Mon, 16 Jan 2012 13:58:34 +0000 (14:58 +0100)]
Store auto generated mcast addr and port to icmap
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Mon, 16 Jan 2012 10:48:05 +0000 (11:48 +0100)]
Add cluster_name option
Option is used for automatic generating of multicast address. If both
cluster_name and mcastaddr options are specified, mcastaddr takes
precedence.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 13:32:19 +0000 (14:32 +0100)]
quorum: fix votequorum service initialization
the problem is that votequorum was listed as part of default
services.
At service_link_and_init, votequorum library and exec were being
made available, even when votequorum was not in used at all, creating
all kind of problems.
By changing the service_link_and_init to be clever, we restore the
original and wanted behavior to link the service only when required.
This also fixed N*votequorum API calls segfaults, init segfaults
and a few dozen other small issues...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 11:49:32 +0000 (12:49 +0100)]
quorumtool: fix node display regression in monitoring option
make display_nodes code common with show_nodes
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 11:05:33 +0000 (12:05 +0100)]
votequorum: fix include to match definition name (cosmetic)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:48:59 +0000 (11:48 +0100)]
quorum: integrate votequorum and ykd correctly
the problem is mostly in votequorum here, where votequorum_exec is
initialized with or without votequorum being configured as quorum
provider.
re-establish init order (regression from dropping lcrso) and make
sure we init correctly only the module configured.
ykd changes are for consistency only at this point in time.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:17:24 +0000 (11:17 +0100)]
build: fix distcheck regression introduced from ykd binding
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:11:26 +0000 (11:11 +0100)]
votequorum: fix standalone build
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:06:18 +0000 (11:06 +0100)]
main: drop unrequired vars
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:05:10 +0000 (11:05 +0100)]
quorum: link ykd back into quorum and fix build warning
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 10:04:35 +0000 (11:04 +0100)]
votequorum: check for parameters and return proper error
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 09:53:17 +0000 (10:53 +0100)]
vsf_quorum: fix potential memory leak
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 09:50:32 +0000 (10:50 +0100)]
coroparse: fix include path after drop lcrso merge
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto [Tue, 17 Jan 2012 09:49:41 +0000 (10:49 +0100)]
update .gitignore
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:47:15 +0000 (13:47 -0700)]
Silent a warning from coverity about handle being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:43:53 +0000 (13:43 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:41:54 +0000 (13:41 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:39:34 +0000 (13:39 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:36:50 +0000 (13:36 -0700)]
Silent a coverity warning about a variable being uninit when it actually is
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:35:36 +0000 (13:35 -0700)]
Silent a coverity warning about handle being unset (when it really is)
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:26:50 +0000 (13:26 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:25:07 +0000 (13:25 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:24:38 +0000 (13:24 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:24:02 +0000 (13:24 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:23:02 +0000 (13:23 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:21:48 +0000 (13:21 -0700)]
Silent a warning from coverity about icmap_track being used without assign
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:19:11 +0000 (13:19 -0700)]
Add break where one was missing
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 20:17:43 +0000 (13:17 -0700)]
Remove unchecked coverity error
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake [Mon, 16 Jan 2012 19:48:47 +0000 (12:48 -0700)]
Fix missing rebase problem that causes make rpm to fail
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Mon, 16 Jan 2012 19:43:26 +0000 (12:43 -0700)]
Add missing votequorum.h file from previous commit
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Mon, 16 Jan 2012 16:27:42 +0000 (09:27 -0700)]
Remove main_get_config_modules since it is no longer needed
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Mon, 16 Jan 2012 16:14:53 +0000 (09:14 -0700)]
Finish up quorum integration
Signed-off-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio Di Nitto <fdinitto@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:41 +0000 (14:13 -0700)]
Remove some lcr ifdef'ed code in service.c
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:40 +0000 (14:13 -0700)]
Remove services directory from loc command
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:39 +0000 (14:13 -0700)]
Get rid of external config loader in include/engine/config.h
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:38 +0000 (14:13 -0700)]
Remove service.d directory since plugins are gone
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:37 +0000 (14:13 -0700)]
Remove lcr directory, files, and references since it is no longer needed
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Sat, 14 Jan 2012 21:13:36 +0000 (14:13 -0700)]
Initial removal of plugins
Quorum is broken in this patch.
service.h needs to be cleaned up significantly
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
Steven Dake [Fri, 13 Jan 2012 00:43:34 +0000 (17:43 -0700)]
Move cs_error into global header so that third party applications can use it
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Andrew Beekhof <abeekhof@redhat.com>
Fabio M. Di Nitto [Mon, 16 Jan 2012 14:26:12 +0000 (15:26 +0100)]
votequorum: fix name and version
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Mon, 16 Jan 2012 14:25:33 +0000 (15:25 +0100)]
votequorum: drop unused define
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Mon, 16 Jan 2012 13:24:22 +0000 (14:24 +0100)]
votequorum: rearrange code
this commit has no functional changes or bugfixes.
Simply reorganize the code in more logical way and change function
names to be more consistent.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 13:34:40 +0000 (14:34 +0100)]
votequorum/quorum-tools: drop unnecessary includes
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 12:32:33 +0000 (13:32 +0100)]
votequorum: network data should be packed
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Jan Friesse [Thu, 12 Jan 2012 16:57:38 +0000 (17:57 +0100)]
Use fast inc for service statistics
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Jan Friesse [Thu, 12 Jan 2012 16:55:53 +0000 (17:55 +0100)]
icmap: Add fast version of inc and dec operation
Biggest difference between fast and standard inc/dec operation is in
fast that fast doesn't do malloc/memcpy, but also it means that tracking
events doesn't have old value set.
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 09:20:04 +0000 (10:20 +0100)]
Fix spec file to reflect documentation changes
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 08:54:42 +0000 (09:54 +0100)]
man: improve index.html a bit
add tools/daemon section and developers section
also add links to other API docs
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 08:37:17 +0000 (09:37 +0100)]
man: sort interfaces alphabetically
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 08:35:03 +0000 (09:35 +0100)]
man: cosmetic index.html changes
makes it slightly more consistent and readable
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Fri, 13 Jan 2012 08:32:24 +0000 (09:32 +0100)]
man: drop confdb from man pages
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 15:16:12 +0000 (16:16 +0100)]
update TODO list
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 15:13:49 +0000 (16:13 +0100)]
quorum: extend initialize man page
add QUORUM_FREE/QUORUM_SET and fix a typo
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 15:08:35 +0000 (16:08 +0100)]
quorum: libquorum API documentation (quorum_getquorate)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 15:05:49 +0000 (16:05 +0100)]
quorum: libquorum API documentation (quorum_context_set)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 15:01:53 +0000 (16:01 +0100)]
quorum: libquorum API documentation (quorum_context_get)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 14:56:24 +0000 (15:56 +0100)]
quorum: libquorum API documentation (quorum_dispatch)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 14:51:40 +0000 (15:51 +0100)]
quorum: libquorum API documentation (quorum_fd_get)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto [Thu, 12 Jan 2012 14:49:03 +0000 (15:49 +0100)]
quorum: libquorum API documentation (quorum_finalize)
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>