diff options
author | NeilBrown <neilb@suse.de> | 2006-07-10 13:44:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 22:24:16 +0200 |
commit | 0b8c9de05c2a860fe6b02fedcb48763bcee648b3 (patch) | |
tree | 893228041dfcc44a216a6887e75c2424e0a8bca9 /sound/isa | |
parent | [PATCH] md: set desc_nr correctly for version-1 superblocks (diff) | |
download | linux-0b8c9de05c2a860fe6b02fedcb48763bcee648b3.tar.xz linux-0b8c9de05c2a860fe6b02fedcb48763bcee648b3.zip |
[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>
Diffstat (limited to 'sound/isa')
0 files changed, 0 insertions, 0 deletions