1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00
lvm2/lib/metadata
Heinz Mauelshagen c26bde42af lvconvert: fix interim segtype regression on raid6 conversions
When converting from striped/raid0/raid0_meta
to raid6 with > 2 stripes, allow possible
direct conversion (to raid6_n_6).

In case of 2 stripes, first convert to raid5_n to restripe
to at least 3 data stripes (the raid6 minimum in lvm2) in
a second conversion before finally converting to raid6_n_6.

As before, raid6_n_6 then can be converted
to any other raid6 layout.

Enhance lvconvert-raid-takeover.sh to test the
2 stripes conversions to raid6.

Resolves: rhbz1624038
(cherry picked from commit e2e30a64ab)

Conflicts:
	WHATS_NEW
2018-09-10 11:21:02 +02:00
..
cache_manip.c cache: drop metadata_format validation 2018-08-07 18:04:14 +02:00
lv_alloc.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
lv_manip.c allocation: add check for passing log allocation 2018-07-09 00:58:30 +02:00
lv.c snapshot: improve checking of merging snapshot 2018-06-22 15:05:22 +02:00
lv.h replicator: remove the code 2017-10-13 16:20:42 -05:00
merge.c cleanup: correcting macro wrapping 2018-04-20 12:17:01 +02:00
metadata-exported.h scan: reopen RDWR during rescan 2018-06-26 12:15:43 -05:00
metadata-liblvm.c scan: fix missing close in lib 2018-05-16 14:48:30 -05:00
metadata.c scan: reopen RDWR during rescan 2018-06-26 12:15:43 -05:00
metadata.h clvmd: reuse a vg struct for sequential LV operations 2018-04-25 16:39:43 -05:00
mirror.c mirror: fix splitmirrors for mirror type 2018-08-07 18:04:39 +02:00
pool_manip.c lvconvert: use excl activation for conversion 2018-01-17 14:43:34 +01:00
pv_alloc.h doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_manip.c pvresize: add missing return 2018-06-22 12:37:09 +02:00
pv_map.c doc: change fsf address 2016-01-21 12:11:37 +01:00
pv_map.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
pv.c lvmcache: add optional dev arg to lvmcache_info_from_pvid 2016-06-07 15:15:47 -05:00
pv.h tidy: declaration names match implementation 2017-07-20 19:16:41 +02:00
raid_manip.c lvconvert: fix interim segtype regression on raid6 conversions 2018-09-10 11:21:02 +02:00
segtype.c segtype: add linear 2018-06-26 12:15:44 +02:00
segtype.h segtype: add linear 2018-06-26 12:15:44 +02:00
snapshot_manip.c Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
takeover_matrix.h lvconvert: add infrastructure for RaidLV reshaping support 2017-02-24 05:20:58 +01:00
thin_manip.c cleanup: fix grammar in output - less then -> less than 2018-05-17 10:37:45 +02:00
vg.c Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00
vg.h Remove lvm1 and pool disk formats 2018-04-30 16:55:02 -05:00