diff options
author | Adam Kwolek <adam.kwolek@intel.com> | 2011-10-03 09:26:48 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-03 09:26:48 +1100 |
commit | 2dddadb0f713c5bb335a80518b42c152ef955d27 (patch) | |
tree | be9f6b5523cbfeef79f232f5ba23698093ac2716 /mdadm.h | |
parent | b76b30e0f95008b840849e5f176eaeca20545a9a (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |