]> err.no Git - linux-2.6/commit
[PATCH] md: make sure mdthreads will always respond to kthread_stop
authorNeilBrown <neilb@suse.de>
Wed, 26 Oct 2005 08:58:58 +0000 (01:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 26 Oct 2005 17:39:42 +0000 (10:39 -0700)
commit8712e553562bbbed9b3a99370f08e9bc25908a76
treebe13964a0701d19f9363a91ed5a130ed10ed4016
parent6693e74a16ef563960764bd963f1048392135c3c
[PATCH] md: make sure mdthreads will always respond to kthread_stop

There are still a couple of cases where md threads (the resync/recovery
thread) is not interruptible since the change to use kthreads.  All places
there it tests "signal_pending", it should also test kthread_should_stop,
as with this patch.

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