Jonathan Brassow eb6491236f DM RAID: Move 'rebuild' checking code to its own function
DM RAID:  Move chunk of code to it's own function

The code that checks whether device replacements/rebuilds are possible given
a specific RAID type is moved to it's own function.  It will further expand
when the code to check RAID10 is added.  A separate function makes it easier
to read.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-11 13:40:09 +11:00
..
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:38 +02:00
2012-07-30 17:25:16 -07:00
2010-08-12 04:14:12 +01:00
2012-07-27 15:08:16 +01:00
2012-03-19 12:46:39 +11:00
2012-08-02 11:34:40 -07:00
2012-10-11 13:08:44 +11:00
2012-03-28 18:43:38 +01:00
2012-10-11 13:34:00 +11:00
2012-10-11 13:25:44 +11:00
2012-10-11 13:34:00 +11:00
2012-10-11 13:34:00 +11:00
2012-08-02 11:34:40 -07:00