md: add ->takeover method for raid5 to be able to take over raid1
authorNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:39 +0000 (14:39 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:39 +0000 (14:39 +1100)
commitd562b0c4313e3ddea402a400371afa47ddf679f9
treee895c3f1688493f6587ad61d9824e96994ca38d6
parent245f46c2c221ef09c7db892f0e3fc2149be42052
md: add ->takeover method for raid5 to be able to take over raid1

The RAID1 must have two drives and be a suitable size to
be a multiple of a chunksize that isn't too small.

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