]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: Block unsafe member failing
authorMateusz Kusiak <mateusz.kusiak@intel.com>
Thu, 18 Aug 2022 09:47:21 +0000 (11:47 +0200)
committerJes Sorensen <jsorensen@fb.com>
Thu, 8 Sep 2022 16:52:25 +0000 (12:52 -0400)
commitfc6fd4063769f4194c3fb8f77b32b2819e140fb9
tree5b9b7461b0f4694d6932ce171dd333bf2a1ce08c
parent1a386f804d8392b849b3362da6b0157b0db83091
Manage: Block unsafe member failing

Kernel may or may not block mdadm from removing member device if it
will cause arrays failed state. It depends on raid personality
implementation in kernel.
Add verification on requested removal path (#mdadm --set-faulty
command).

Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Manage.c