]> git.ipfire.org Git - thirdparty/mdadm.git/commit
New RESHAPE_NO_BACKUP flag to track when backup action is needed.
authorNeilBrown <neilb@suse.de>
Thu, 4 Oct 2012 06:34:21 +0000 (16:34 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 4 Oct 2012 06:34:21 +0000 (16:34 +1000)
commit5e88ab2e2f87c4009529c19746841db136c8e1b9
treefdeb31cf99be3c5a4f4b3e77e5db90780b4c75af
parent19ceb16dafb7df98ff90298008d4488dc93b370a
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 that 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