NeilBrown
908f4fbd26
md/raid5: be more thorough in calculating 'degraded' value.
...
When an array is being reshaped to change the number of devices,
the two halves can be differently degraded. e.g. one could be
missing a device and the other not.
So we need to be more careful about calculating the 'degraded'
attribute.
Instead of just inc/dec at appropriate times, perform a full
re-calculation examining both possible cases. This doesn't happen
often so it not a big cost, and we already have most of the code to
do it.
Signed-off-by: NeilBrown <neilb@suse.de >
2011-12-23 10:17:50 +11:00
..
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:02 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:55:33 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:43 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:01:56 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:14 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:13 -04:00
2011-12-23 10:17:50 +11:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:52 -04:00
2011-10-31 19:31:53 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-07 09:11:16 -08:00
2011-11-07 10:55:33 -08:00
2011-10-31 19:31:54 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:01 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:21 -04:00
2011-11-06 19:44:47 -08:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 16:07:02 -07:00
2011-10-31 19:30:38 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:31:57 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:08 -04:00
2011-11-07 09:11:16 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:38:49 -05:00
2011-11-06 22:22:16 -08:00
2011-10-31 19:32:10 -04:00
2011-11-06 19:44:47 -08:00
2011-10-31 19:32:19 -04:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 19:44:47 -08:00
2011-11-06 20:13:34 -08:00
2011-10-31 19:32:01 -04:00