]> sourceware.org Git - lvm2.git/commit
raid: add reshape segtype flag support
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 9 Jun 2017 19:31:09 +0000 (21:31 +0200)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 9 Jun 2017 20:23:04 +0000 (22:23 +0200)
commit1c916ec5ffd37cfb7be2101b93a2dc91aa2ef7f0
tree54dd1e10939aee093cc5168c60ea5b2c0b5c0518
parent305513178474d15adcba4785871c3f0321576fbe
raid: add reshape segtype flag support

Prohibit activation of reshaping RaidLVs on incompatible
lvm2 runtime by storing e.g. 'raid5+RESHAPE' segment type
strings in the lvm2 metadata.  Incompatible runtime not
supporting reshaping won't be able to activate those thus
avoiding potential data corruption.

Any new non-reshaping lvconvert command will reset the
segment type string from 'raid5+RESHAPE' to 'raid5'.

See commits
0299a7af1ec1eeb11388ed15c4c78f224fee76b2 and
4141409eb09e78aef030346995f1722fb40956d8
for segtype flag support.
lib/format_text/flags.c
lib/metadata/metadata-exported.h
lib/metadata/raid_manip.c
This page took 0.04072 seconds and 5 git commands to generate.