From da9b4a62af80edbbcc96196ab5d887308516ba70 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 12 Apr 2009 00:58:28 -0700 Subject: 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 --- mdadm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdadm.h') 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; -- cgit