diff options
author | NeilBrown <neilb@suse.de> | 2010-12-01 11:47:32 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-12-01 11:47:32 +1100 |
commit | 87f26d14f75cf565a5885b2a3426499a48987ac3 (patch) | |
tree | b68e93ac398edf4fc31ea5e2152155e1258391c2 /mdadm.h | |
parent | 417f346ee0cc59607a236fd4db8c79dee0825fb1 (diff) |
Assemble: allow an array undergoing reshape to be started without backup file
Though not having the proper backup file can cause data corruption, it
is not enough to justify not being able to start the array at all.
So allow "--invalid-backup" to be specified which says "just continue
even if a backup cannot be restored".
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -310,6 +310,7 @@ enum special_options { Fork, Bitmap, RebuildMapOpt, + InvalidBackup, }; /* structures read from config file */ @@ -967,7 +968,8 @@ extern int Grow_continue(int mdfd, struct supertype *st, extern int Assemble(struct supertype *st, char *mddev, struct mddev_ident *ident, - struct mddev_dev *devlist, char *backup_file, + struct mddev_dev *devlist, + char *backup_file, int invalid_backup, int readonly, int runstop, char *update, char *homehost, int require_homehost, int verbose, int force); |