From: Swen Schillig Date: Wed, 26 Nov 2008 17:07:40 +0000 (+0100) Subject: [SCSI] zfcp: fix deadlock between wq triggered port scan and ERP X-Git-Tag: v2.6.28-rc8~76^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fca55b6fb587e42c7761ee30bd1a6c313a9270c9;p=pandora-kernel.git [SCSI] zfcp: fix deadlock between wq triggered port scan and ERP Waiting for the ERP to be finished in a task running in the global kernel work-queue is a bad idea, especially if the ERP needs to run another job in this work-queue before it can finish. -> deadlock. This patch removes the necessity to wait for a finished ERP from the scan task and moves the job scheduling to the end of the ERP. Signed-off-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed