NeilBrown 0b8c9de05c [PATCH] md: delay starting md threads until array is completely setup
When an array is started we start one or two threads (two if there is a
reshape or recovery that needs to be completed).

We currently start these *before* the array is completely set up and in
particular before queue->queuedata is set.  If the thread actually starts
very quickly on another CPU, we can end up dereferencing queue->queuedata
and oops.

This patch also makes sure we don't try to start a recovery if a reshape is
being restarted.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-10 13:24:16 -07:00
..
2006-07-09 08:47:46 -07:00
2006-07-08 13:30:09 -07:00
2006-07-10 13:24:12 -07:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:15 -07:00
2006-07-10 13:24:15 -07:00
2006-07-03 09:41:12 -05:00
2006-07-03 21:29:08 -07:00
2006-07-10 13:24:15 -07:00
2006-07-10 13:24:12 -07:00
2006-07-08 13:34:32 -07:00