[PATCH] md: Split reshape handler in check_reshape and start_reshape
authorNeilBrown <neilb@suse.de>
Mon, 27 Mar 2006 09:18:13 +0000 (01:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:02 +0000 (08:45 -0800)
commit63c70c4f3a30e77e6f445bd16eff7934a031ebd3
tree12d2cd6cec5cd304bdf514ec8999a44c26f058ae
parentb578d55fdd80140f657130abd85aebeb345755fb
[PATCH] md: Split reshape handler in check_reshape and start_reshape

check_reshape checks validity and does things that can be done instantly -
like adding devices to raid1.  start_reshape initiates a restriping process to
convert the whole array.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c
drivers/md/raid1.c
drivers/md/raid5.c
include/linux/raid/md_k.h