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

Allow faulty devices to be removed from a readonly array.



Removing faulty devices from an array is a two stage process.
First the device is moved from being a part of the active array
to being similar to a spare device.  Then it can be removed
by a request from user space.

The first step is currently not performed for read-only arrays,
so the second step can never succeed.

So allow readonly arrays to remove failed devices (which aren't
blocked).

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent ac4090d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment