From: Dan Williams Date: Wed, 18 Mar 2009 01:10:40 +0000 (-0700) Subject: md: add 'size' as a personality method X-Git-Tag: v2.6.30-rc1~241^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80c3a6ce4ba4470379b9e6a4d9bcd9d2ee26ae03;p=pandora-kernel.git 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 Signed-off-by: Dan Williams --- Reading git-diff-tree failed