Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 404e4b43 authored by NeilBrown's avatar NeilBrown
Browse files

md: allow a resync that is waiting for other resync to complete, to be aborted.



If two arrays share a device, then they will not both resync at the
same time.  One will wait for the other to complete.
While waiting, the MD_RECOVERY_INTR flag is not checked so a device
failure, which would make the resync pointless, does not cause the
resync to abort, so the failed device cannot be removed (as it cannot
be remove while a resync is happening).

So add a test for MD_RECOVERY_INTR.

Reported-by: default avatarBrett Russ <bruss@netezza.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 7fb9dadc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment