NeilBrown
b5663ba405
md/raid5: simplify interface for init_stripe and get_active_stripe
...
Rather than passing 'pd_idx' and 'disks' to these functions, just pass
'previous' which tells whether to use the 'previous' or 'current'
geometry during a reshape, and let init_stripe calculate
disks and pd_idx and anything else it might need.
This is not a substantial simplification and even adds a division.
However we will shortly be adding more complexity to init_stripe
to handle more interesting 'reshape' activities, and without this
change, the interface to these functions would get very complex.
Signed-off-by: NeilBrown <neilb@suse.de>
2009-03-31 14:39:38 +11:00
..
2008-02-06 10:41:18 -08:00
2006-01-01 22:21:50 +01:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:27:03 +11:00
2007-10-20 02:01:11 +01:00
2005-04-16 15:20:36 -07:00
2009-01-06 03:04:58 +00:00
2009-01-06 03:04:58 +00:00
2009-01-06 03:05:19 +00:00
2009-01-06 03:05:19 +00:00
2009-02-18 10:32:00 +01:00
2009-01-06 03:05:10 +00:00
2009-02-18 10:32:00 +01:00
2009-01-06 03:05:09 +00:00
2009-01-06 03:05:02 +00:00
2009-01-06 03:05:13 +00:00
2008-10-10 13:36:58 +01:00
2008-10-21 17:44:59 +01:00
2006-12-08 08:28:40 -08:00
2009-01-06 03:05:01 +00:00
2008-10-21 17:45:06 +01:00
2008-10-21 17:44:59 +01:00
2009-01-06 03:05:19 +00:00
2009-01-06 03:05:19 +00:00
2009-01-06 03:05:19 +00:00
2009-01-06 03:05:19 +00:00
2009-01-06 03:04:58 +00:00
2009-01-06 03:05:12 +00:00
2009-01-06 03:05:10 +00:00
2009-01-06 03:04:58 +00:00
2008-04-28 08:58:42 -07:00
2007-10-20 02:01:26 +01:00
2009-01-06 03:04:58 +00:00
2009-01-06 03:05:12 +00:00
2009-01-06 03:05:12 +00:00
2009-03-31 14:33:13 +11:00
2008-10-12 08:25:14 -07:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:27:02 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2008-02-06 10:41:18 -08:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:39:38 +11:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2008-04-28 08:58:42 -07:00
2005-09-17 11:49:58 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2005-04-16 15:20:36 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2007-10-29 07:41:32 -07:00
2009-03-31 14:33:13 +11:00
2009-03-31 14:33:13 +11:00
2005-04-16 15:20:36 -07:00