]> git.neil.brown.name Git - mdadm.git/commit
New RESHAPE_NO_BACKUP flag to track when backup action is needed.
authorNeilBrown <neilb@suse.de>
Wed, 9 May 2012 10:49:32 +0000 (20:49 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 9 May 2012 10:49:32 +0000 (20:49 +1000)
commitd91b51cbe6ad36164200231f666e485cc9be0af2
treecb0ff3030a1f1251ec0d4853c5b6a4b6a9f4daa1
parent2368e66a1a8c1907eb834987926ebb039c5bcad6
New RESHAPE_NO_BACKUP flag to track when backup action is needed.

Some arrays (raid10) never need a backup file, so during assembly
we can avoid the whole Grow_continue check in the case.
Achieve this using a flag set by the metadata handler.

Also get "mdadm -I" to fail if a backup process would be
needed.  It currently does fail as the kernel rejects things,
but it is nicer to have this explicit.

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