summaryrefslogtreecommitdiff
path: root/daemons
Commit message (Collapse)AuthorAgeFilesLines
* dmeventd plugins moveAlasdair Kergon2008-10-311-0/+4
|
* Fix snapshot monitoring library to not cancel monitoring invalid snapshot.Milan Broz2008-10-131-19/+0
| | | | | | | | | | | snapshot DSO unregistered itself when snapshot changed state to invalid. This can cause a race (and several timeouts), when for example another snapshot is added and in the middle of operation (suspend/resume) the monitoring thread unregister itself. Fix it by keeping the snapshot monitored after invalidation - just reset threshold to not really print any messages to syslog.
* Add usrlibdir & usrsbindir to configure.Alasdair Kergon2008-10-071-1/+1
|
* Fix mirror DSO to call vgreduce with proper parameters.Milan Broz2008-09-251-1/+1
|
* fix last releaseAlasdair Kergon2008-09-191-2/+1
|
* Improve the way VGs with PVs missing are handled so manual interventionAlasdair Kergon2008-09-191-6/+0
| | | | is required in fewer circumstances. (mornfall)
* Add #include <signal.h> to dmeventd.c, fixes compilation on NetBSD.Petr Rockai2008-07-091-0/+1
|
* Fix dmeventd regression where mirror and snapshot monitoring librariesPetr Rockai2008-07-092-2/+2
| | | | | | | | | | | failed to link against liblvm2cmd. Dmeventd DSOs *require* lvm2cmd to be linked in. For the future: 1) AC_SUBST does not create Makefile variables, only @foo@-style substitutions 2) When using `test', whitespace around `=' is essential: test a=b is true, as is test a=a
* Added generation of the versioned libdevmapper-event.so for LVM's testZdeněk Kabeláč2008-06-271-1/+6
|
* avoid link failure when configuring without --enable-cmdlibJim Meyering2008-06-232-5/+3
| | | | | | | * configure.in (LVM2CMD_LIB): Define if --enable-cmdlib. * dmeventd/mirror/Makefile.in (CLDFLAGS): Use $(LVM2CMD_LIB) rather than hard-coding -llvm2cmd. * dmeventd/snapshot/Makefile.in (CLDFLAGS): Likewise.
* Make clvmd return immediately if other nodes are down in an openais cluster.Christine Caulfield2008-06-201-1/+4
|
* Make clvmd return immediately if other nodes are down in a gulm cluster.Christine Caulfield2008-06-201-2/+5
| | | | bz#447799
* Don't call openlog for every invocation of debuglog.Christine Caulfield2008-06-131-1/+3
| | | | Patch from Masatake YAMATO
* cleaner LCK_LV decodingAlasdair Kergon2008-06-061-9/+8
|
* Decode numbers in clvmd debugging output.Alasdair Kergon2008-06-052-10/+153
|
* revert accidental checkinAlasdair Kergon2008-05-191-1/+1
|
* Refactor some vginfo manipulation code.Alasdair Kergon2008-05-191-1/+1
|
* more cleanupAlasdair Kergon2008-05-092-3/+3
|
* More P_ and V_ lock cleanup.Alasdair Kergon2008-05-092-7/+8
|
* Add missing mutex around clvmd lvmcache_drop_metadata library call.Alasdair Kergon2008-05-093-2/+17
|
* Fix uninitialised mutex in clvmd if all daemons are not running at startup.Christine Caulfield2008-05-091-8/+10
| | | | Thanks to Mark Hlawatschek for pointing this out.
* Make clvmd-cman use a hash rather than an array for node updown info.Christine Caulfield2008-05-091-33/+22
| | | | | This will allow it to cope with very large nodeids such as those generated by clusters using cman_tool join -X
* . 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.
* Drop cached VG metadata before and after committing changes to it.Milan Broz2008-04-151-0/+2
|
* rename P_global to P_#globalAlasdair Kergon2008-04-151-2/+2
|
* Add config file overrides to clvmd when it reads the LVs list so thatChristine Caulfield2008-04-081-2/+2
| | | | config items 'command_names' and 'prefix' don't prevent it working.
* If lvm.conf was touched, clvmd attempted to update the toolcontextChristine Caulfield2008-04-041-3/+3
| | | | | but only did half of the job. It now shares the do_refresh_cache() function that vgscan invokes.
* Fix another allocation bug with clvmd and large node IDs.`Christine Caulfield2008-04-011-2/+10
|
* Fix a couple of uninitialised variables. The newfd one could causeChristine Caulfield2008-03-281-2/+2
| | | | some obscure hangs.
* When reallocating the node IDs array, make it bigger rather than smaller!Christine Caulfield2008-03-251-2/+5
|
* Fix potential thread deadlock.Christine Caulfield2008-03-171-2/+4
| | | | Also make local sockets non-blocking.
* Include limits.h so it compiles with newer headers.Christine Caulfield2008-03-062-0/+2
|
* Remove redundant if-before-free tests in clvmd.c.Jim Meyering2008-02-151-10/+5
|
* Update usage message for clvmd.Patrick Caulfield2008-02-051-1/+3
| | | | Fix clvmd man page printing <br>, clarified debug options.
* Fix mirror log name construction during lvconvert. (2.02.30)Alasdair Kergon2008-01-312-14/+31
| | | | | | Make monitor_dev_for_events recurse through the stack of LVs. Clean up some more compiler warnings. Add mirror names test script.
* Remove redundant cnxman-socket.h file.Patrick Caulfield2008-01-211-226/+0
|
* Amend previous commit. * does not match .files...Petr Rockai2008-01-091-0/+3
|
* Add snapshot dmeventd library (enables dmeventd snapshot monitoring).Petr Rockai2008-01-093-1/+260
|
* Tidy the clvmd backup code.Patrick Caulfield2007-12-052-7/+15
| | | | | | Move the backups inside the protection of the VG lock, Don't backup if we have a suspended LV Correct the vg_read() call
* When we unlock a VG tell the clvmds to see if a backup of the metadata needsPatrick Caulfield2007-12-044-3/+29
| | | | to be done.
* Fix a possible double-free in libdevmapper-event.Petr Rockai2007-11-271-2/+7
|
* If the pre_command fails then go back and wait patiently for the nextPatrick Caulfield2007-11-151-3/+5
| | | | pre function rather than retrying it until we get stuck!
* Make it compile with new lv_info_by_lvid() prototypePatrick Caulfield2007-11-141-3/+3
|
* Correct typo in comments: s/is part of the LVM2/is part of LVM2/.Jim Meyering2007-09-214-4/+4
| | | | | | | Signed-off-by: Jim Meyering <jim@meyering.net> Author: Jim Meyering <jim@meyering.net>
* Fix clvmd logging so you can get lvm-level debugging out of it.Patrick Caulfield2007-08-241-1/+13
|
* Locking P_global causes a cache refresh.Patrick Caulfield2007-08-231-1/+6
|
* Force a device scan after init_full_scan_done() per agk.Patrick Caulfield2007-08-231-0/+2
|
* Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.Patrick Caulfield2007-08-231-1/+6
|