summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorAdam Kwolek <adam.kwolek@intel.com>2011-10-03 09:26:48 +1100
committerNeilBrown <neilb@suse.de>2011-10-03 09:26:48 +1100
commit2dddadb0f713c5bb335a80518b42c152ef955d27 (patch)
treebe9f6b5523cbfeef79f232f5ba23698093ac2716 /mdadm.h
parentb76b30e0f95008b840849e5f176eaeca20545a9a (diff)
Add continue option to grow command
To allow for reshape continuation '--continue' option is added to grow command. Function that will be executed in grow-continue case doesn't require information about reshape geometry. All required information are read from metadata. For external metadata reshape can be run for monitored array/container only. In case when array/container is not monitored run mdmon for it. Signed-off-by: Adam Kwolek <adam.kwolek@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
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 4687a210..989d5638 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -314,6 +314,7 @@ enum special_options {
InvalidBackup,
UdevRules,
FreezeReshape,
+ Continue,
};
/* structures read from config file */
@@ -1041,6 +1042,8 @@ extern int restore_backup(struct supertype *st,
int spares,
char *backup_file,
int verbose);
+extern int Grow_continue_command(char *devname, int fd,
+ char *backup_file, int verbose);
extern int Assemble(struct supertype *st, char *mddev,
struct mddev_ident *ident,