]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid5: Allow reshape while a bitmap is present.
authorNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:59 +0000 (10:57 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 24 Apr 2012 00:57:59 +0000 (10:57 +1000)
commit54aae0575fc5333962ac6d37c36d5b04a11ed956
tree6be9844a0753530642843ceef5921ee8de2ae505
parent0f8f3d56c1a93b8569422887dd7204eab187e62a
md/raid5: Allow reshape while a bitmap is present.

We always should have allowed this.  A raid5 reshape doesn't change
the size of the bitmap, so not need to restrict it.

Also add a test to make sure we don't try to start a reshape on a
failed array.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c