Dan Williams 80c3a6ce4b md: add 'size' as a personality method
In preparation for giving userspace control over ->array_sectors we need
to be able to retrieve the 'default' size, and the 'anticipated' size
when a reshape is requested.  For personalities that do not reshape emit
a warning if anything but the default size is requested.

In the raid5 case we need to update ->previous_raid_disks to make the
new 'default' size available.

Reviewed-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-03-31 14:57:49 +11:00
..
2006-01-01 22:21:50 +01:00
2009-03-31 14:33:13 +11:00
2007-10-20 02:01:11 +01:00
2005-04-16 15:20:36 -07:00
2009-01-06 03:05:10 +00:00
2009-01-06 03:05:01 +00:00
2009-01-06 03:05:12 +00:00
2009-01-06 03:05:10 +00:00
2007-10-20 02:01:26 +01:00
2009-01-06 03:05:12 +00:00
2009-01-06 03:05:12 +00:00
2009-03-31 14:27:02 +11:00
2009-03-31 14:57:49 +11:00
2008-02-06 10:41:18 -08:00
2009-03-31 14:57:49 +11:00
2009-03-31 14:57:49 +11:00
2009-03-31 14:57:49 +11:00
2009-03-31 14:39:39 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2009-03-31 14:57:37 +11:00
2005-04-16 15:20:36 -07:00