]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble/force: make it possible to "force" a new device in a reshape.
authorNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 02:04:00 +0000 (12:04 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 02:04:00 +0000 (12:04 +1000)
commit87af7267bd07599c89e3b0ef2f4ef7220640991c
tree71d8d2839e5e290bd4c25c67c04aeebd8abab1ba
parentc34fef774a9fe7a0cd048c7bf33eeafbf7054647
Assemble/force: make it possible to "force" a new device in a reshape.

Normally we do not "force"-assemble devices which are in the
middle of recovery, as they are unlikely to have useful data.

However, when a reshape increases the number of devices,
the newly added devices appear to be recovering because they
do not have complete data on them yet, but then they aren't expected
to until the reshape completes.
So in this case, it can be appropriate to force-assemble them.

Reported-by: "Jonathan Harker (Jesusaurus)" <jesusaurus@gentlydownthe.net>
Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c