md/raid5: allow layout/chunksize to be changed on an active 2-drive raid5.
authorNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:56:41 +0000 (14:56 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:56:41 +0000 (14:56 +1100)
commitb3546035277847028df650b147469fc943cf5c71
tree87966abc5456a62845326eb8d5a5cf0f88879b2d
parentd562b0c4313e3ddea402a400371afa47ddf679f9
md/raid5: allow layout/chunksize to be changed on an active 2-drive raid5.

2-drive raid5's aren't very interesting.  But if you are converting
a raid1 into a raid5, you will at least temporarily have one.  And
that it a good time to set the layout/chunksize for the new RAID5
if you aren't happy with the defaults.

layout and chunksize don't actually affect the placement of data
on a 2-drive raid5, so we just do some internal book-keeping.

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