From 2dddadb0f713c5bb335a80518b42c152ef955d27 Mon Sep 17 00:00:00 2001 From: Adam Kwolek Date: Mon, 3 Oct 2011 09:26:48 +1100 Subject: 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 Signed-off-by: NeilBrown --- mdadm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdadm.h') 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, -- cgit v1.2.3