dm raid: fix frozen recovery regression
authorHeinz Mauelshagen <heinzm@redhat.com>
Tue, 9 Aug 2016 12:56:14 +0000 (14:56 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 16 Aug 2016 20:18:19 +0000 (16:18 -0400)
commita4423287ec16e74c25de8ee3f261b1ea18c0af67
treedb151c6b7d4f980d1376f4adde0a5eed6613b8bc
parent0a83df6c8cacafbefc5b56b2fbcb92b0d75b744b
dm raid: fix frozen recovery regression

On LVM2 conversions via lvconvert(8), the target keeps mapped devices in
frozen state when requesting RAID devices be resynchronized.  This
applies to e.g. adding legs to a raid1 device or taking over from raid0
to raid4 when the rebuild flag's set on the new raid1 legs or the added
dedicated parity stripe.

Also, fix frozen recovery for reshaping as well.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c