]> git.ipfire.org Git - thirdparty/mdadm.git/commit
New RESHAPE_NO_BACKUP flag to track when backup action is needed.
authorNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:42:27 +0000 (09:42 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 20 May 2012 23:42:27 +0000 (09:42 +1000)
commit85bdd744c1504c6a4e7823f1dfa5cfbc3c5de44b
treebe1b56b96e1c981addaa347862decad79b764811
parent9cf154394476f7f1d2b8852bd50b7fcb65d804dc
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