[PATCH] md: make md threads interruptible again
commit93588e2284b6be1873cc0bb7fbf0947bdbf72830
authorNeilBrown <neilb@suse.de>
Tue, 15 Nov 2005 08:09:12 +0000 (15 00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 15 Nov 2005 16:59:19 +0000 (15 08:59 -0800)
tree685a5b21312c6d057f1db37d75085944db646cb9
parente8a0033451f7972169b2f375be34d9d805ad8687
[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