]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Add 'restart' arg to various functions used for reshaping.
authorNeilBrown <neilb@suse.de>
Sun, 16 Jan 2011 22:53:56 +0000 (09:53 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 16 Jan 2011 22:53:56 +0000 (09:53 +1100)
commita93f87eee607d17024b92dccec9c0eff4dc42565
treef075afdb4cf99f04085a9ea0d07d6de5621d7211
parent6d5316f66aed11f464d115a9dead4b15ec2bb246
Add 'restart' arg to various functions used for reshaping.

When we restart an array in the middle of a reshape, we reuse a lot of
the code for starting the reshape, but it needs to know that
circumstances are slightly different.

So add a 'restart' arg which is used:
 - skip checking and adding spares
 - activate the array (rather than start reshape)
 - allow the backup file to already exist

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c
mdadm.h