diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-04-12 00:58:28 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-04-12 00:58:28 -0700 |
commit | da9b4a62af80edbbcc96196ab5d887308516ba70 (patch) | |
tree | 374cdc6439e4a59161fc2739e752e4ef6ab50248 /mdadm.h | |
parent | da1887895404506708387fa3781bf0df0a2664ff (diff) | |
download | mdadm-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |