diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-12-17 19:24:37 +0100 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2018-12-17 19:28:54 +0100 |
commit | e82303fd6abc3ae43168f8032806c7c17d181a3e (patch) | |
tree | 9c272d82bbfaae03fa097d295912d577b9f7b914 /conf | |
parent | 1f1d36f6a2b441fbf84e59f435bd5169459392b1 (diff) | |
download | lvm2-e82303fd6abc3ae43168f8032806c7c17d181a3e.tar.gz |
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
Diffstat (limited to 'conf')
-rw-r--r-- | conf/example.conf.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in index 0204f4b5a..85465f52b 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -904,6 +904,17 @@ global { # mirror_segtype_default = "@DEFAULT_MIRROR_SEGTYPE@" + # Configuration option global/support_mirrored_mirror_log. + # Enable mirrored 'mirror' log type for testing. + # + # This type is deprecated to create or convert to but can + # be enabled to test that activation of existing mirrored + # logs and conversion to disk/core works. + # + # Not supported for regular operation! + # + support_mirrored_mirror_log = 0 + # Configuration option global/raid10_segtype_default. # The segment type used by the -i -m combination. # The --type raid10|mirror option overrides this setting. |