]> git.karo-electronics.de Git - linux-beck.git/commit
md/raid5: Allow reshape while a bitmap is present.
authorNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:28 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:28 +0000 (13:55 +1000)
commit30b67645faadcdc32072f999796b99bd0a20f2d5
treeb6e1f0d30c584794ecec0455450d36be5fe4b9e0
parentbb63a7019df91933de6854a87ddc5488b49edb85
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