NeilBrown
474af965fe
md/raid5: move some more common code into handle_stripe
...
The RAID6 version of this code is usable for RAID5 providing:
- we test "conf->max_degraded" rather than "2" as appropriate
- we make sure s->failed_num[1] is meaningful (and not '-1')
when s->failed > 1
The 'return 1' must become 'goto finish' in the new location.
Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
2011-07-27 11:00:36 +10:00
..
2011-06-09 11:43:01 +10:00
2011-06-09 11:43:01 +10:00
2011-03-25 20:51:44 -07:00
2011-01-13 19:59:57 +00:00
2010-08-12 04:13:51 +01:00
2010-08-12 04:13:51 +01:00
2011-03-24 13:54:24 +00:00
2011-05-29 13:03:09 +01:00
2011-03-24 13:54:30 +00:00
2011-05-29 13:03:13 +01:00
2010-08-12 04:14:11 +01:00
2011-01-13 19:59:52 +00:00
2011-03-03 13:32:07 -08:00
2009-09-04 20:40:34 +01:00
2011-05-29 13:03:09 +01:00
2011-05-29 13:02:55 +01:00
2009-04-02 19:55:27 +01:00
2009-06-22 10:12:27 +01:00
2009-06-22 10:12:27 +01:00
2011-05-29 13:03:13 +01:00
2011-04-18 18:25:41 +10:00
2011-03-31 11:26:23 -03:00
2009-06-22 10:12:27 +01:00
2010-03-30 22:02:32 +09:00
2011-05-29 13:03:09 +01:00
2009-12-10 23:52:12 +00:00
2011-05-29 13:03:13 +01:00
2011-03-24 13:54:35 +00:00
2010-03-07 17:04:49 -08:00
2011-05-29 13:02:52 +01:00
2010-08-12 04:14:14 +01:00
2010-03-06 02:29:52 +00:00
2010-08-12 04:14:12 +01:00
2011-03-22 08:35:35 +01:00
2011-03-17 11:11:05 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-17 11:11:05 +01:00
2009-06-18 08:49:42 +10:00
2011-03-24 13:54:24 +00:00
2011-06-28 16:59:42 +10:00
2011-06-09 11:41:36 +10:00
2011-05-11 14:38:44 +10:00
2011-05-11 14:38:02 +10:00
2011-03-17 11:11:05 +01:00
2010-06-24 13:33:24 +10:00
2011-06-08 15:11:31 +10:00
2011-06-08 15:11:31 +10:00
2011-07-27 11:00:36 +10:00
2011-07-26 11:35:20 +10:00
2011-07-18 17:38:49 +10:00
2011-03-31 11:26:23 -03:00