]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: make md threads interruptible again
authorNeilBrown <neilb@suse.de>
Tue, 15 Nov 2005 08:09:12 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 16:59:19 +0000 (08:59 -0800)
commita16caf728571f0eb2d6f15045bc51d05fe22de59
tree685a5b21312c6d057f1db37d75085944db646cb9
parent3e2a4516f276c99f38f6c6fe9f5e86f8c4d403fb
[PATCH] md: make md threads interruptible again

Despite the fact that md threads don't need to be signalled, and won't
respond to signals anyway, we need to have an 'interruptible' wait, else
they stay in 'D' state and add to the load average.

(akpm: the signal_pending() test is unneeded - we'll fix that up in the next
round.  For now, leave it there because that's how the code used to be).

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/md.c