NeilBrown b4c4c7b809 [PATCH] md: restart a (raid5) reshape that has been aborted due to a read/write error
An error always aborts any resync/recovery/reshape on the understanding that
it will immediately be restarted if that still makes sense.  However a reshape
currently doesn't get restarted.  With this patch it does.

To avoid restarting when it is not possible to do work, we call into the
personality to check that a reshape is ok, and strengthen raid5_check_reshape
to fail if there are too many failed devices.

We also break some code out into a separate function: remove_and_add_spares as
the indent level for that code was getting crazy.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-01 14:53:36 -08:00
..
2007-02-26 13:02:08 -08:00
2007-02-27 00:36:00 -05:00
2006-12-07 08:39:24 -08:00
2006-10-11 11:14:25 -07:00
2007-02-16 14:00:19 +11:00
2007-02-20 17:10:15 -08:00
2007-02-11 10:51:24 -08:00
2007-02-11 10:51:24 -08:00