]> git.baikalelectronics.ru Git - kernel.git/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)
commit2a5aa7290363a71f1854165127c6610577dceed2
treebe13964a0701d19f9363a91ed5a130ed10ed4016
parenta9da05571f350ad1a5f5148f6724d25c45d13ac7
[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