]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Incremental: Remove redundant spare movement logic
authorMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Fri, 11 Dec 2020 11:28:38 +0000 (12:28 +0100)
committerJes Sorensen <jsorensen@fb.com>
Sun, 20 Dec 2020 18:45:30 +0000 (13:45 -0500)
commit69068584f9ed68b8b2736287a1c9863e11b741d5
tree0b368ec968aa485c103e484a75ae5a66d9aa9637
parenta64f1263a56bd8653267c1a9800daa0bc993a743
Incremental: Remove redundant spare movement logic

If policy is set then mdmonitor is responsible for moving spares.
This logic is reduntant and potentialy dangerus, spare could be moved at
initrd stage depending on drives appearance order.

Remove it.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Incremental.c