[SCSI] zfcp: Dont block zfcp_wq with scan
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 17 Apr 2009 13:08:04 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:26 +0000 (10:07 -0500)
commit92d5193b467c68e8432d6878980621c787e735af
treef38286d32216e23adfd4f8a8dc0e8ef152cd4de4
parentada81b748b768eb5b75567fd1db5e87ba5c98bf0
[SCSI] zfcp: Dont block zfcp_wq with scan

When running the scsi_scan from the zfcp workqueue and the target
device does not respond, the zfcp workqueue can block until the
scsi_scan hits a timeout. Move the work to the scsi host workqueue,
since this one is also used for the scan from the SCSI midlayer.

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>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_scsi.c