summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-07-13 15:00:02 +1000
committerNeilBrown <neilb@suse.de>2009-07-13 15:00:02 +1000
commit84e11361aa37c92c3c016095e5db7f4fc434ac18 (patch)
tree784d588a80d609f857beef00107adda2cc7b10d8 /mdadm.h
parente0d95aac9626badd1b849ce4f99f9c406d55beae (diff)
downloadmdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.tar.gz
mdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.tar.xz
mdadm-84e11361aa37c92c3c016095e5db7f4fc434ac18.zip
Grow: support --array-size changes
With 2.6.30 it is possible to tell the md driver to clip an array to a size smaller than the real size of the array. This option gives access to that feature. The size change does not persist across restarts. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 89ec77a..bf7e59d 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -774,6 +774,7 @@ extern unsigned long bitmap_sectors(struct bitmap_super_s *bsb);
extern int md_get_version(int fd);
extern int get_linux_version(void);
+extern long long parse_size(char *size);
extern int parse_uuid(char *str, int uuid[4]);
extern int check_ext2(int fd, char *name);
extern int check_reiser(int fd, char *name);