summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-03-18 02:10:40 +0100
committerDan Williams <dan.j.williams@intel.com>2009-03-31 05:57:49 +0200
commit80c3a6ce4ba4470379b9e6a4d9bcd9d2ee26ae03 (patch)
treede88622f05a7e681ac7bff7714e8f2d8953b66ac /init
parentmd: fix typo in FSF address (diff)
downloadlinux-80c3a6ce4ba4470379b9e6a4d9bcd9d2ee26ae03.tar.xz
linux-80c3a6ce4ba4470379b9e6a4d9bcd9d2ee26ae03.zip
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions