]> sourceware.org Git - lvm2.git/commit
lvconvert: add infrastructure for RaidLV reshaping support
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 24 Feb 2017 02:56:10 +0000 (03:56 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 24 Feb 2017 04:20:58 +0000 (05:20 +0100)
commit1784cc990e6941e93cfcf1204526cec75d287a89
tree0243b8805a279d675452b8f73877323e451971c7
parent2d74de3f05d44b2ac5f651e49d29878731a114a1
lvconvert: add infrastructure for RaidLV reshaping support

In order to support striped raid5/6/10 LV reshaping (change
of LV type, stripesize or number of legs), this patch
introduces more local infrastructure to raid_manip.c
used by followup patches.

Change:
- add missing raid1 <-> raid5 conversions to support
  linear <-> raid5 <-> raid0(_meta)/striped conversions
- rename related new takeover functions to
  _takeover_from_raid1_to_raid5 and _takeover_from_raid5_to_raid1,
  because a reshape to > 2 legs is only possible with
  raid5 layout

Related: rhbz834579
Related: rhbz1191935
Related: rhbz1191978
lib/metadata/raid_manip.c
lib/metadata/takeover_matrix.h
This page took 0.032181 seconds and 5 git commands to generate.