summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-04-12 00:58:28 -0700
committerDan Williams <dan.j.williams@intel.com>2009-04-12 00:58:28 -0700
commitda9b4a62af80edbbcc96196ab5d887308516ba70 (patch)
tree374cdc6439e4a59161fc2739e752e4ef6ab50248 /mdadm.h
parentda1887895404506708387fa3781bf0df0a2664ff (diff)
downloadmdadm-da9b4a62af80edbbcc96196ab5d887308516ba70.tar.gz
mdadm-da9b4a62af80edbbcc96196ab5d887308516ba70.tar.xz
mdadm-da9b4a62af80edbbcc96196ab5d887308516ba70.zip
imsm: set array size at Create/Assemble
imsm arrays round down the effective array size to the closest 1 megabyte boundary so teach get_info_super_imsm and sysfs_set_array to set 'md/array_size' if available (and make sure ddf uses the default size). Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index f580e3e..c33ec24 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -146,6 +146,9 @@ struct mdinfo {
unsigned long long component_size; /* same as array.size, except in
* sectors and up to 64bits.
*/
+ unsigned long long custom_array_size; /* size for non-default sized
+ * arrays (in sectors)
+ */
int reshape_active;
unsigned long long reshape_progress;
unsigned long long resync_start;