linux-kernel-test/drivers/s390
Swen Schillig 94ab4b38b2 [SCSI] zfcp: avoid false ERP complete due to sema race
The ERP thread is performing a task before it is executing the
corresponding down on the semaphore. The response handler of the
just started exchange config should wait for the completion by
performing a down on this semaphore. Since this semaphore is still
positive from the ERP enqueue the handler won't wait and therefore
the exchange config will always fail leaving the adapter in error.
The problem can be solved by performing the down on the semaphore
before starting an ERP task. This is the logically correct order.
Only walk the ERP loop if there is a task to perform.

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>
2009-04-27 10:07:28 -05:00
..
block [S390] dasd: fix idaw boundary checking for track based ccw 2009-04-14 15:37:25 +02:00
char [S390] Use tape_generic_offline directly. 2009-04-23 13:58:17 +02:00
cio [S390] qdio: remove dead timeout handler 2009-04-14 15:37:24 +02:00
crypto [S390] use kzfree() 2009-03-26 15:24:29 +01:00
kvm s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
net qeth: properly delete empty files. 2009-04-01 12:51:33 -07:00
scsi [SCSI] zfcp: avoid false ERP complete due to sema race 2009-04-27 10:07:28 -05:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00