commit | 8712e553562bbbed9b3a99370f08e9bc25908a76 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Oct 26 01:58:58 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Oct 26 10:39:42 2005 -0700 |
tree | be13964a0701d19f9363a91ed5a130ed10ed4016 | |
parent | 6693e74a16ef563960764bd963f1048392135c3c [diff] |
[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>