]> git.ipfire.org Git - thirdparty/mdadm.git/commit
incremental, manage: do not verify if remove is safe
authorKinga Tanska <kinga.tanska@intel.com>
Tue, 27 Dec 2022 05:50:43 +0000 (06:50 +0100)
committerJes Sorensen <jes@trained-monkey.org>
Thu, 5 Jan 2023 03:37:30 +0000 (22:37 -0500)
commit461fae7e7809670d286cc19aac5bfa861c29f93a
tree646b65f17002cdb037d2906a12060e51c3c5019c
parentb3e7b7eb1dfedd7cbd9a3800e884941f67d94c96
incremental, manage: do not verify if remove is safe

Function is_remove_safe() was introduced to verify if removing
member device won't cause failed state of the array. This
verification should be used only with set-faulty command. Add
special mode indicating that Incremental removal was executed.
If this mode is used do not execute is_remove_safe() routine.

Signed-off-by: Kinga Tanska <kinga.tanska@intel.com>
Signed-off-by: Jes Sorensen <jes@trained-monkey.org>
Incremental.c
Manage.c