Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dmeventd plugins move | Alasdair Kergon | 2008-10-31 | 1 | -0/+4 |
| | |||||
* | Fix snapshot monitoring library to not cancel monitoring invalid snapshot. | Milan Broz | 2008-10-13 | 1 | -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 Kergon | 2008-10-07 | 1 | -1/+1 |
| | |||||
* | Fix mirror DSO to call vgreduce with proper parameters. | Milan Broz | 2008-09-25 | 1 | -1/+1 |
| | |||||
* | fix last release | Alasdair Kergon | 2008-09-19 | 1 | -2/+1 |
| | |||||
* | Improve the way VGs with PVs missing are handled so manual intervention | Alasdair Kergon | 2008-09-19 | 1 | -6/+0 |
| | | | | is required in fewer circumstances. (mornfall) | ||||
* | Add #include <signal.h> to dmeventd.c, fixes compilation on NetBSD. | Petr Rockai | 2008-07-09 | 1 | -0/+1 |
| | |||||
* | Fix dmeventd regression where mirror and snapshot monitoring libraries | Petr Rockai | 2008-07-09 | 2 | -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 test | Zdeněk Kabeláč | 2008-06-27 | 1 | -1/+6 |
| | |||||
* | avoid link failure when configuring without --enable-cmdlib | Jim Meyering | 2008-06-23 | 2 | -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 Caulfield | 2008-06-20 | 1 | -1/+4 |
| | |||||
* | Make clvmd return immediately if other nodes are down in a gulm cluster. | Christine Caulfield | 2008-06-20 | 1 | -2/+5 |
| | | | | bz#447799 | ||||
* | Don't call openlog for every invocation of debuglog. | Christine Caulfield | 2008-06-13 | 1 | -1/+3 |
| | | | | Patch from Masatake YAMATO | ||||
* | cleaner LCK_LV decoding | Alasdair Kergon | 2008-06-06 | 1 | -9/+8 |
| | |||||
* | Decode numbers in clvmd debugging output. | Alasdair Kergon | 2008-06-05 | 2 | -10/+153 |
| | |||||
* | revert accidental checkin | Alasdair Kergon | 2008-05-19 | 1 | -1/+1 |
| | |||||
* | Refactor some vginfo manipulation code. | Alasdair Kergon | 2008-05-19 | 1 | -1/+1 |
| | |||||
* | more cleanup | Alasdair Kergon | 2008-05-09 | 2 | -3/+3 |
| | |||||
* | More P_ and V_ lock cleanup. | Alasdair Kergon | 2008-05-09 | 2 | -7/+8 |
| | |||||
* | Add missing mutex around clvmd lvmcache_drop_metadata library call. | Alasdair Kergon | 2008-05-09 | 3 | -2/+17 |
| | |||||
* | Fix uninitialised mutex in clvmd if all daemons are not running at startup. | Christine Caulfield | 2008-05-09 | 1 | -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 Caulfield | 2008-05-09 | 1 | -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 Caulfield | 2008-04-29 | 1 | -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 Caulfield | 2008-04-28 | 1 | -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 than | Christine Caulfield | 2008-04-23 | 1 | -65/+16 |
| | | | | | | saLckResourceLockAsync. Thanks to Xinwei Hu for the patch. | ||||
* | Drop cached VG metadata before and after committing changes to it. | Milan Broz | 2008-04-15 | 1 | -0/+2 |
| | |||||
* | rename P_global to P_#global | Alasdair Kergon | 2008-04-15 | 1 | -2/+2 |
| | |||||
* | Add config file overrides to clvmd when it reads the LVs list so that | Christine Caulfield | 2008-04-08 | 1 | -2/+2 |
| | | | | config items 'command_names' and 'prefix' don't prevent it working. | ||||
* | If lvm.conf was touched, clvmd attempted to update the toolcontext | Christine Caulfield | 2008-04-04 | 1 | -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 Caulfield | 2008-04-01 | 1 | -2/+10 |
| | |||||
* | Fix a couple of uninitialised variables. The newfd one could cause | Christine Caulfield | 2008-03-28 | 1 | -2/+2 |
| | | | | some obscure hangs. | ||||
* | When reallocating the node IDs array, make it bigger rather than smaller! | Christine Caulfield | 2008-03-25 | 1 | -2/+5 |
| | |||||
* | Fix potential thread deadlock. | Christine Caulfield | 2008-03-17 | 1 | -2/+4 |
| | | | | Also make local sockets non-blocking. | ||||
* | Include limits.h so it compiles with newer headers. | Christine Caulfield | 2008-03-06 | 2 | -0/+2 |
| | |||||
* | Remove redundant if-before-free tests in clvmd.c. | Jim Meyering | 2008-02-15 | 1 | -10/+5 |
| | |||||
* | Update usage message for clvmd. | Patrick Caulfield | 2008-02-05 | 1 | -1/+3 |
| | | | | Fix clvmd man page printing <br>, clarified debug options. | ||||
* | Fix mirror log name construction during lvconvert. (2.02.30) | Alasdair Kergon | 2008-01-31 | 2 | -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 Caulfield | 2008-01-21 | 1 | -226/+0 |
| | |||||
* | Amend previous commit. * does not match .files... | Petr Rockai | 2008-01-09 | 1 | -0/+3 |
| | |||||
* | Add snapshot dmeventd library (enables dmeventd snapshot monitoring). | Petr Rockai | 2008-01-09 | 3 | -1/+260 |
| | |||||
* | Tidy the clvmd backup code. | Patrick Caulfield | 2007-12-05 | 2 | -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 needs | Patrick Caulfield | 2007-12-04 | 4 | -3/+29 |
| | | | | to be done. | ||||
* | Fix a possible double-free in libdevmapper-event. | Petr Rockai | 2007-11-27 | 1 | -2/+7 |
| | |||||
* | If the pre_command fails then go back and wait patiently for the next | Patrick Caulfield | 2007-11-15 | 1 | -3/+5 |
| | | | | pre function rather than retrying it until we get stuck! | ||||
* | Make it compile with new lv_info_by_lvid() prototype | Patrick Caulfield | 2007-11-14 | 1 | -3/+3 |
| | |||||
* | Correct typo in comments: s/is part of the LVM2/is part of LVM2/. | Jim Meyering | 2007-09-21 | 4 | -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 Caulfield | 2007-08-24 | 1 | -1/+13 |
| | |||||
* | Locking P_global causes a cache refresh. | Patrick Caulfield | 2007-08-23 | 1 | -1/+6 |
| | |||||
* | Force a device scan after init_full_scan_done() per agk. | Patrick Caulfield | 2007-08-23 | 1 | -0/+2 |
| | |||||
* | Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R. | Patrick Caulfield | 2007-08-23 | 1 | -1/+6 |
| |