summaryrefslogtreecommitdiff
path: root/drivers/scsi/sun_esp.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-11-26 20:07:40 +0300
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-01 19:18:04 +0300
commitfca55b6fb587e42c7761ee30bd1a6c313a9270c9 (patch)
tree334aaea4b8cd1c3a6d9dca3a0131005d49047358 /drivers/scsi/sun_esp.c
parent0ac55aa90f2c3bd08e57e52a513b82b18ce0a5bc (diff)
downloadlinux-fca55b6fb587e42c7761ee30bd1a6c313a9270c9.tar.xz
[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 <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sun_esp.c')
0 files changed, 0 insertions, 0 deletions