1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Jonathan Earl Brassow eb2d70293d Fix up-convert when mirror activation is controled by volume_list and tags.
When mirrors are up-converted, a transient mirror layer is put in so that
only the new devices are sync'ed.  That transient layer must carry the tags
of the original mirror LV, otherwise it will fail to activate when activation
is regulated by lvm.conf:activation/volume_list.  The conversion would then
fail.

The fix is to do exactly the same thing that is being done for linear ->
mirror converting (lib/metadata/mirror.c:_init_mirror_log()).  We copy the
tags temporarily for the new LV and remove them after the activation.
2012-05-05 02:08:46 +00:00
..
activate Handle replacement of an active device that goes missing with an error device. 2012-04-24 00:51:26 +00:00
cache Check if info struct returned is not NULL. 2012-04-10 12:26:27 +00:00
commands Fix typo in config option check 2012-03-23 09:42:36 +00:00
config Improve thin_check option passing 2012-03-14 17:12:05 +00:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device Change message severity to log_very_verbose for missing dev info in udev db. 2012-04-11 09:12:02 +00:00
display Never try to test character past given buffer 2012-02-13 14:23:40 +00:00
error Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
filters Support improperly formated device numbers 2012-03-20 10:47:02 +00:00
format1 Pass 'single_device' parameter down to suppress 'Can't find uuid' messages 2012-02-29 02:35:35 +00:00
format_pool Pass 'single_device' parameter down to suppress 'Can't find uuid' messages 2012-02-29 02:35:35 +00:00
format_text Check if info struct returned is not NULL. 2012-04-10 12:26:27 +00:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in 2012-02-23 13:11:07 +00:00
locking Add some lock comments 2012-04-24 12:17:12 +00:00
log Minor fixes 2012-03-28 11:11:25 +00:00
metadata Fix up-convert when mirror activation is controled by volume_list and tags. 2012-05-05 02:08:46 +00:00
mirror Use same signed numbers 2012-02-23 22:30:20 +00:00
misc First veritysetup version using configure --with-veritysetup. 2012-03-24 01:59:59 +00:00
mm Log sys error for lseek 2012-03-01 21:19:20 +00:00
raid Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
replicator Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
report Use unsigned type for bitmask 2012-02-27 11:45:05 +00:00
snapshot Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin Fix regression in thin monitoring 2012-03-20 17:42:19 +00:00
unknown Fix log_error() usage 2011-09-24 21:19:30 +00:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
Makefile.in Reflect new file locations, include file updates etc. 2012-02-28 18:35:04 +00:00