diff options
author | Swen Schillig <swen@vnet.ibm.com> | 2008-11-26 12:07:40 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-01 11:18:04 -0500 |
commit | fca55b6fb587e42c7761ee30bd1a6c313a9270c9 (patch) | |
tree | 334aaea4b8cd1c3a6d9dca3a0131005d49047358 /lib | |
parent | 0ac55aa90f2c3bd08e57e52a513b82b18ce0a5bc (diff) |
[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 'lib')
0 files changed, 0 insertions, 0 deletions