[PATCH] md: complete conversion of md to use kthreads
authorNeilBrown <neilb@suse.de>
Wed, 9 Nov 2005 05:39:43 +0000 (21:39 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:40 +0000 (07:56 -0800)
commit787453c2397edcc3261efebb661739acd8c38547
tree41855815ebfb6332485ac1ca30b43308c66da0e0
parentfd9d49cac46f5758d513ccf831b599dd4412546f
[PATCH] md: complete conversion of md to use kthreads

There are a few loose ends following the conversion of md to use kthreads:

- Some fields in mdk_thread_t that aren't needed (kthreads does it's own
  completion and manages it's own name).

- thread->run is now never NULL, so no need to check

- Some tests for signal_pending that aren't needed (As we don't use signals
  to stop threads any more)

- Some flush_signals are not needed

- Some waits are interruptible and don't need 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
include/linux/raid/md_k.h