]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit3eaa86bfa47bbeba1e99d62dabbc322187ec0c8e
treef38286d32216e23adfd4f8a8dc0e8ef152cd4de4
parente65122cbfe7683a909ddafcf7356f33049ff2d7f
[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