1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/tools
Milan Broz 31f55a07db Fix convert polling to ignore LV with different UUID.
When mirror convert polling is started (mainly as backgound process,
in lvchange -a y or in lvconvert itself) it tries to read VG
and LV identified by its name.

Unfortunatelly, the VG can have already different LV under the same name,
and various more or less funny things can happen (note that
_finish_lvconvert_mirror suspends the volume for example).

(the typical example is our testing script which continuously recreates
LVs under the same name in the same VG.)

This patch adds optional uuid parameter which helps to properly
select the monitoring object. For lvconvert polling it is set to LV UUID
and both _get_lvconvert_vg and _get_lvconvert_lv uses it to read proper VG/LV.

(In the pvmove case it is NULL, here we poll for physical volume name).
2009-06-01 14:43:27 +00:00
..
.exported_symbols .export.sym generation 2004-03-26 14:51:23 +00:00
args.h Make --snapshot optional with lvcreate --virtualsize. 2009-05-27 16:30:29 +00:00
cmdnames.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
commands.h Make --snapshot optional with lvcreate --virtualsize. 2009-05-27 16:30:29 +00:00
dmsetup.c Fix segfault when using -U, -G and -M options in dmsetup. 2009-04-24 11:30:49 +00:00
dumpconfig.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
formats.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvchange.c Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
lvconvert.c Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
lvcreate.c Suppress 'removed' messages displayed when internal LVs are removed. 2009-05-27 18:19:21 +00:00
lvdisplay.c Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
lvextend.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvm2cmd-static.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmd.c Fix mirror log name construction during lvconvert. (2.02.30) 2008-01-31 12:19:36 +00:00
lvm2cmd.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvm2cmdline.h lvm2cmdline.h:31: warning: declaration of `is_static' shadows a global declaration 2008-12-19 18:51:02 +00:00
lvm-static.c Use tools.h in for lvm-static. 2009-01-20 20:37:41 +00:00
lvm.c Create global is_static() to eliminate from the library init function. 2008-12-18 05:27:17 +00:00
lvmchange.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvmcmdlib.c Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +00:00
lvmcmdline.c Make --snapshot optional with lvcreate --virtualsize. 2009-05-27 16:30:29 +00:00
lvmdiskscan.c Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
lvreduce.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
lvremove.c Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin). 2009-04-25 01:17:59 +00:00
lvrename.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
lvresize.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
lvscan.c Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
Makefile.in Reinstate version in liblvm2cmd.so soname. (2.02.44) 2009-05-21 11:11:29 +00:00
polldaemon.c Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
polldaemon.h Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
pvchange.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
pvck.c Clean up numerous compiler warnings that crept in recently. 2007-08-22 14:38:18 +00:00
pvcreate.c Properly release VG memory pool in all CLI tools. 2009-04-10 10:01:38 +00:00
pvdisplay.c Properly release VG memory pool in all CLI tools. 2009-04-10 10:01:38 +00:00
pvmove.c Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
pvremove.c Try to avoid full rescan if label scan is enough. 2009-02-25 23:29:06 +00:00
pvresize.c Properly release VG memory pool in all CLI tools. 2009-04-10 10:01:38 +00:00
pvscan.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
reporter.c Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
segtypes.c Some whitespace tidy-ups. 2008-01-30 14:00:02 +00:00
stub.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
toollib.c Suppress 'removed' messages displayed when internal LVs are removed. 2009-05-27 18:19:21 +00:00
toollib.h Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00
tools.h Fix convert polling to ignore LV with different UUID. 2009-06-01 14:43:27 +00:00
vgcfgbackup.c Improve the way VGs with PVs missing are handled so manual intervention 2008-09-19 06:42:00 +00:00
vgcfgrestore.c Remove NON_BLOCKING lock flag from tools and set a policy to auto-set. 2009-05-13 13:02:52 +00:00
vgchange.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgck.c Fix warning in previous commit. 2009-03-16 15:19:29 +00:00
vgconvert.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgcreate.c Remove NON_BLOCKING lock flag from tools and set a policy to auto-set. 2009-05-13 13:02:52 +00:00
vgdisplay.c Fix vgdisplay return code and exit status. 2008-11-07 19:02:47 +00:00
vgexport.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
vgextend.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgimport.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
vgmerge.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgmknodes.c Add "--refresh" functionality to vgchange and vgmknodes. 2008-12-22 09:00:51 +00:00
vgreduce.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgremove.c Remove NON_BLOCKING lock flag from tools and set a policy to auto-set. 2009-05-13 13:02:52 +00:00
vgrename.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgscan.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
vgsplit.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00