summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/clvmd-openais.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: replace memset with struct initilizationZdenek Kabelac2012-06-221-2/+1
| | | | | Simplifies the code, properly detects too long socket paths, drops unused parameter.
* Remove some whitespaces.Milan Broz2012-03-101-1/+1
| | | | (test commit)
* Restart CLVMD with same cluster managerZdenek Kabelac2011-09-251-0/+1
| | | | | | | | Add named cluster_ops to easily learn the name of the active cluster manager, so we are able to restart singlenode manager in testing. Add simple test for clvmd -S (restart) and -R (refresh) (though it needs some extensions).
* Remove compile warning for lock_id.Peter Rajnoha2011-03-131-3/+3
| | | | %llx --> PRIx64
* Remove a few size_t type warnings.Peter Rajnoha2011-02-221-2/+3
|
* Various cleanups following recent commits.Alasdair Kergon2010-06-211-24/+1
|
* Use "" instead of <> for configure.h and libdevmapper.hZdenek Kabelac2010-06-151-2/+2
| | | | Move configure.h as the first header for clvmd source files.
* missing (C) remindersAlasdair Kergon2009-09-151-10/+16
|
* Rewrite clvmd configuration code.Alasdair Kergon2009-08-281-23/+26
|
* Tidy lv_hash[_lock] use inside clvmd.Milan Broz2009-04-211-1/+1
| | | | | | | | | | | - Rename unlock_all to destroy_lvhash, this function is called in cluster shutdown unlocks everything and clean up allocated info space. - Tidy lv_hash_lock use . Except adding free(lvi) in lv_has destructror there is no functional change.
* Allow clvmd to be built with all cluster managers & select one on cmdline.Christine Caulfield2009-02-021-3/+3
|
* clvmdAlasdair Kergon2008-11-041-1/+5
|
* more fixesAlasdair Kergon2008-11-041-1/+0
|
* Make clvmd return immediately if other nodes are down in an openais cluster.Christine Caulfield2008-06-201-1/+4
|
* . remove_lock_wait.diff remove the definition of "struct lock_wait",Christine Caulfield2008-04-291-8/+1
| | | | | | | | which is not used since the switch away from async version saLck . num_nodes should equal to member_list_entries, i.e. joined_list_entires is 0 when a node leaves the group. Thanks to Xinwei Hu for the patch.
* The attached patch is a try to make clvmd work correctly on openais stack.Christine Caulfield2008-04-281-6/+26
| | | | | | | | | | | It does 2 things. 1. The cpg_deliver_callback make a compare between target_nodeid and our_nodeid. It turns out openais set target_nodeid to 0 sometimes. for broadcasting ? I change the behavior so that lvm will process_remote also on target_nodeid == 0 2. The joined_list passed to cpg_confchg_callback doesn't include the already exist nodes in the group, which leads to an incomplete node_hash. I simply add all other nodes in member_list to node_hash also. Thanks to Xinwei Hu for this patch.
* Simplify locking code by using saLckResourceLock rather thanChristine Caulfield2008-04-231-65/+16
| | | | | | saLckResourceLockAsync. Thanks to Xinwei Hu for the patch.
* Tidy bits of clvmd-openais and improve an error report.Patrick Caulfield2007-07-111-5/+2
|
* Use cpg_local_get() rather then Clm to get the local nodeid.Patrick Caulfield2007-06-251-19/+3
|
* Add *Experimental* OpenAIS support to clvmd.Patrick Caulfield2007-05-211-0/+756