Linux md raid driver delays recovery/verification of multiple devices if they share the same parent device.
We have setup where disks are pationed via device mapper, they use bcache, etc.. and finally they are raided with md. This unfortunately means that the md driver does not recognize them as sharing same physical parent. And that leads to a massive I/O congestion when automatic verification starts (there are like 10 raids on every single physical disk).
I tried to find any documentation about the mechanism how the same parent is detected but I failed.
Is there any way how to "hint" the md driver which raids are on what physical discs or which md raids share the same parent?
The other option would be to disable the automatic verification and script my own "one-by-one" verification or mayber there is some sort of daemon for that already. But I feel that making the detection work is better way...
(I do not want to change the setup as we are extremly satisified with that in other means)
EDIT: It is a Fedora Linux (version 19 to be exact)