]> sourceware.org Git - lvm2.git/commit
lvconvert: fix conversion to 'mirrored' mirror log with larger regionsize
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Jul 2020 12:09:46 +0000 (14:09 +0200)
committerHeinz Mauelshagen <heinzm@redhat.com>
Thu, 9 Jul 2020 12:39:50 +0000 (14:39 +0200)
commit286a793c12aac1fde17cb9768bacad660e1dfeb3
tree9a1c60a8055e064b61e7544b6249b4ff603af32b
parentd0faad0db38fe733cae42d7df136d7ed4f7bcba6
lvconvert: fix conversion to 'mirrored' mirror log with larger regionsize

merge.c:_check_lv_segment() was checking regionsize vs. mirrored LV size on
any 'mirror/raid1/raid10' segment type including type 'mirrored' mirror logs.

Avoid the check only for 'mirrored' mirror logs to allow conversion from log
type 'disk' with regionsize > mirror log SubLV size.

As we disabled support for 'mirrored' mirror logs with
commit e82303fd6abc3ae43168f8032806c7c17d181a3e which still conditionally
allows to enable it via global/support_mirrored_mirror_logs=1,
patch is mandatory for all distributions.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1712983
WHATS_NEW
lib/metadata/merge.c
This page took 1.099158 seconds and 5 git commands to generate.