stuck in resync=DELAYED if other resyncing array is stopped

From
Anssi Hannula <hidden>
Date
2009-10-11 19:51:52
Hi!

I had two recovery resyncs going on at the same time, with arrays
sharing devices. The resync in one array was progressing, while the
other was in DELAYED state (i.e. waiting for the first one to finish).
However, when I stopped the first array completely, the second one
remained in DELAYED state and was not waken up.

Unfortunately this was some time ago (I think it was 2.6.30.x) and I
forgot about it until now.

I quickly looked at the current git code and I don't see resync_wait
being wake_up()ed in the md stop codepath.
Maybe someone more familiar with the code can confirm+fix this..
Otherwise I can try to do some testing myself when I have time in a few
weeks.

-- 
Anssi Hannula
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help