NeilBrown
e56108d65f
md/raid5: be careful not to resize_stripes too big.
...
When a RAID5 is reshaping, conf->raid_disks is increased
before mddev->delta_disks becomes zero.
This can result in check_reshape calling resize_stripes with a
number that is too large. This particularly happens
when md_check_recovery calls ->check_reshape().
If we use ->previous_raid_disks, we don't risk this.
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-11 14:24:13 +11:00
..
2012-07-27 15:08:15 +01:00
2012-10-11 13:45:36 +11:00
2012-05-22 13:55:34 +10:00
2009-04-02 19:55:23 +01:00
2012-03-28 18:41:29 +01:00
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:39 +02:00
2012-07-27 15:08:16 +01:00
2012-07-27 15:07:59 +01:00
2010-08-12 04:13:51 +01:00
2012-07-27 15:08:16 +01:00
2012-09-09 10:35:38 +02:00
2012-07-27 15:08:16 +01:00
2011-10-31 20:18:58 +00:00
2012-07-27 15:08:16 +01:00
2011-11-06 19:44:47 -08:00
2012-05-10 23:21:39 -04:00
2009-09-04 20:40:34 +01:00
2012-07-30 17:25:16 -07:00
2012-07-27 15:08:16 +01:00
2011-10-31 19:31:18 -04:00
2009-06-22 10:12:27 +01:00
2012-03-28 18:41:26 +01:00
2012-07-27 15:08:16 +01:00
2012-10-11 13:42:19 +11:00
2012-07-20 14:25:03 +01:00
2012-03-28 18:41:26 +01:00
2012-03-28 18:41:26 +01:00
2011-10-31 19:31:19 -04:00
2011-10-31 19:31:19 -04:00
2012-07-27 15:08:16 +01:00
2012-07-27 15:08:16 +01:00
2010-03-07 17:04:49 -08:00
2012-07-27 15:08:07 +01:00
2010-08-12 04:14:14 +01:00
2012-07-27 15:08:15 +01:00
2012-07-27 15:08:15 +01:00
2012-07-27 15:08:16 +01:00
2011-10-31 19:31:19 -04:00
2012-07-27 15:08:16 +01:00
2010-08-12 04:14:12 +01:00
2012-09-09 10:35:39 +02: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
2011-10-11 16:48:54 +11:00
2012-03-28 18:43:38 +01:00
2012-10-11 14:22:17 +11:00
2012-10-11 14:17:59 +11:00
2012-10-11 13:34:00 +11:00
2011-10-11 16:48:57 +11:00
2012-10-11 13:25:44 +11:00
2012-03-19 12:46:39 +11:00
2012-10-11 14:17:59 +11:00
2012-07-31 10:03:53 +10:00
2012-10-11 14:24:13 +11:00
2012-10-11 13:49:05 +11:00
2012-10-11 14:20:58 +11:00
2012-08-18 09:51:42 +10:00