]> sourceware.org Git - lvm2.git/commit
raid: conditionally reject convert to striped/raid0*
authorHeinz Mauelshagen <heinzm@redhat.com>
Fri, 17 Mar 2017 12:58:54 +0000 (13:58 +0100)
committerHeinz Mauelshagen <heinzm@redhat.com>
Fri, 17 Mar 2017 12:58:54 +0000 (13:58 +0100)
commit17bee733d16e88d260b7de826c747c6ade9f797c
tree15b2be437506f517b7b594d22d24c7cc7b334dc1
parent5e7bc8d854bb6752e6987692791750a48e871442
raid: conditionally reject convert to striped/raid0*

If SubLVs to be removed still exist after an image removing
conversion (i.e. "lvconvert --yes --force --stripes N "
with N < total stripes) any request to convert to a different
striped/raid* level has to be rejected until after those freed
SubLVs got removed by running the aforementioned lvconvert again.

Add tests to check conversion to striped/raid* gets rejected.
Enhance a test comment.

Related: rhbz1191935
Related: rhbz1366296
lib/metadata/raid_manip.c
test/shell/lvconvert-raid-reshape.sh
This page took 0.035857 seconds and 5 git commands to generate.