Steven Dake
fb6f17ab75
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>
2012-01-16 17:21:30 -07:00
Steven Dake
0f2fd2037b
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>
2012-01-16 17:21:26 -07:00
Steven Dake
5d17eb3c37
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>
2012-01-16 17:21:20 -07:00
Steven Dake
98bba25cd0
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>
2012-01-16 17:21:04 -07:00
Steven Dake
2967ad3b9b
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>
2012-01-16 17:21:00 -07:00
Steven Dake
0d675a3496
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>
2012-01-16 17:20:56 -07:00
Steven Dake
a919908ed6
Add break where one was missing
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
2012-01-16 17:20:51 -07:00
Steven Dake
7d8400c34d
Remove unchecked coverity error
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
2012-01-16 17:20:35 -07:00
Steven Dake
d901096ed3
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>
2012-01-16 12:48:47 -07:00
Steven Dake
c71499988b
Add missing votequorum.h file from previous commit
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
2012-01-16 12:43:45 -07:00
Steven Dake
ef1febd03c
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>
2012-01-16 09:31:25 -07:00
Steven Dake
e423e43bc6
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>
2012-01-16 09:31:01 -07:00
Steven Dake
43e148276f
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>
2012-01-16 09:30:57 -07:00
Steven Dake
aac70d1408
Remove services directory from loc command
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
2012-01-16 09:30:53 -07:00
Steven Dake
bb849be586
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>
2012-01-16 09:30:50 -07:00
Steven Dake
0e2ca7edac
Remove service.d directory since plugins are gone
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
2012-01-16 09:30:46 -07:00
Steven Dake
75bc06d916
Remove lcr directory, files, and references since it is no longer needed
...
Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Fabio Di Nitto <fdinitto@redhat.com>
2012-01-16 09:30:40 -07:00
Steven Dake
f763d3ba4a
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>
2012-01-16 09:30:26 -07:00
Steven Dake
08b635f8da
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>
2012-01-16 07:32:40 -07:00
Fabio M. Di Nitto
fec97682fe
votequorum: fix name and version
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2012-01-16 15:28:56 +01:00
Fabio M. Di Nitto
8e8bf66cc5
votequorum: drop unused define
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2012-01-16 15:28:56 +01:00
Fabio M. Di Nitto
49301ee2b4
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>
2012-01-16 15:28:56 +01:00
Fabio M. Di Nitto
2003a87eb0
votequorum/quorum-tools: drop unnecessary includes
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2012-01-16 15:28:56 +01:00
Fabio M. Di Nitto
7abb831964
votequorum: network data should be packed
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
2012-01-16 15:28:56 +01:00
Jan Friesse
848f24d903
Use fast inc for service statistics
...
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 11:13:43 +01:00
Jan Friesse
a1df899d35
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>
2012-01-13 11:13:38 +01:00
Fabio M. Di Nitto
601684d2f6
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>
2012-01-13 10:38:09 +01:00
Fabio M. Di Nitto
c9e4b73692
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>
2012-01-13 10:01:14 +01:00
Fabio M. Di Nitto
3b3635420a
man: sort interfaces alphabetically
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2012-01-13 10:01:14 +01:00
Fabio M. Di Nitto
e55fcf2a02
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>
2012-01-13 10:01:14 +01:00
Fabio M. Di Nitto
620a0dbbcc
man: drop confdb from man pages
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
2012-01-13 10:01:14 +01:00
Fabio M. Di Nitto
fd1604599e
update TODO list
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
9512968be9
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>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
992adfe8ba
quorum: libquorum API documentation (quorum_getquorate)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
23a2573d0d
quorum: libquorum API documentation (quorum_context_set)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
7537076af5
quorum: libquorum API documentation (quorum_context_get)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
b6709a1575
quorum: libquorum API documentation (quorum_dispatch)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
d8e1071929
quorum: libquorum API documentation (quorum_fd_get)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
457af5c300
quorum: libquorum API documentation (quorum_finalize)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
c0c5e9cabd
quorum: libquorum API documentation (quorum_initialize)
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
3bfd98fdbf
votequorum: update man pages
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
640f95ee44
votequorum: lower quorum change logging
...
vfs_quorum already does logging at INFO level
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
6f935309b9
update TODO list
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
23ea4f0f11
votequorum: drop votequorum_leave
...
this was a compatibility function for cman_tool only.
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
c4ce2eb64c
votequorum: add missing new line
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
1cf165e776
votequorum: display flags for all features
...
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
2fee0e70f9
quorumtool: improve monitoring output some more
...
this avoid printing some static data more than once
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
f464038b17
votequorum: drop HASSTATE/SETSTATE
...
this is a leftover from killing DISALLOWED
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
943b57be5b
quorumtool: make data display more generic
...
this improves the monitoring option a ton
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00
Fabio M. Di Nitto
ec7609ab85
quorumtool: drop redundant init calls to votequorum
...
this is taken care of in initall
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
2012-01-13 09:25:47 +01:00