1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/test
Jonathan Earl Brassow 679f946dd9 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
..
api Update tests 2012-03-16 13:00:05 +00:00
lib Improve test suite 2012-03-28 11:10:08 +00:00
shell Fix up-convert when mirror activation is controled by volume_list and tags. 2012-05-05 02:08:46 +00:00
unit Unit testing for some string libdm functions 2012-02-23 22:47:17 +00:00
.gitignore Add testing framework, along with first few tests. 2007-09-18 14:00:42 +00:00
Makefile.in Improve test suite 2012-03-28 11:10:08 +00:00