]> sourceware.org Git - lvm2.git/commit
lvcreate/lvconvert: optionally reenable mirrored mirror log for testing purposes...
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 17 Dec 2018 18:24:37 +0000 (19:24 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Mon, 17 Dec 2018 18:28:54 +0000 (19:28 +0100)
commite82303fd6abc3ae43168f8032806c7c17d181a3e
tree9c272d82bbfaae03fa097d295912d577b9f7b914
parent1f1d36f6a2b441fbf84e59f435bd5169459392b1
lvcreate/lvconvert: optionally reenable mirrored mirror log for testing purposes only

This is a followup patch to commit edb72cb70cb8abd0acb92f07937715be2816d04a
to support related lvm2 test suite tests.

A 'global/support_mirrored_mirror_log' bool configuration variable gets
introduced allowing the creation of, or conversion to mirrored 'mirror'
logs if set.  The capability to create these in turn allows the rest of
the tests to perform activation of such existing LVs and their conversions
to disk/core 'mirror' logs.

Display a disclaimer warning if enabled that this is not for regular use.

Add definition of the enabled config option to respective test scripts.

Related: rhbz1643562
conf/example.conf.in
lib/config/config_settings.h
lib/metadata/mirror.c
test/shell/lvconvert-mirror.sh
test/shell/lvconvert-repair-replace.sh
test/shell/lvconvert-repair.sh
test/shell/lvconvert-twostep.sh
test/shell/lvcreate-operation.sh
test/shell/snapshots-of-mirrors.sh
test/shell/vgsplit-operation.sh
This page took 0.040402 seconds and 5 git commands to generate.