From: Andrew Patterson Date: Thu, 17 Sep 2009 18:46:58 +0000 (-0500) Subject: cciss: Use one scan thread per controller and fix hang during rmmod X-Git-Tag: v2.6.32-rc3~6^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b368c9dd65984d1860b97bff77644c0e3e46df96;p=pandora-kernel.git cciss: Use one scan thread per controller and fix hang during rmmod Replace the use of one scan kthread per controller with one per driver. Use a queue to hold a list of controllers that need to be rescanned with routines to add and remove controllers from the queue. Fix locking and completion handling to prevent a hang during rmmod. Signed-off-by: Andrew Patterson Signed-off-by: Stephen M. Cameron Acked-by: Mike Miller Signed-off-by: Jens Axboe --- Reading git-diff-tree failed