diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-11-24 16:54:16 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:02:17 -0600 |
commit | af4de36d911ab907b92c5f3f81ceff8474ed7485 (patch) | |
tree | 3c10fe6223de5ff2ff1e19b4f28173f0dd948862 /drivers/s390/scsi/zfcp_fsf.h | |
parent | 4c571c659e9d41332b6981ca5379047681ce9d2f (diff) | |
download | linux-stable-af4de36d911ab907b92c5f3f81ceff8474ed7485.tar.gz linux-stable-af4de36d911ab907b92c5f3f81ceff8474ed7485.tar.bz2 linux-stable-af4de36d911ab907b92c5f3f81ceff8474ed7485.zip |
[SCSI] zfcp: Block scsi_eh thread for rport state BLOCKED
In case the SCSI error recovery starts because of a SCSI command
timeout, but then something else triggers the rport to be deleted, the
SCSI error recovery will run to the end and set the SCSI device
offline. To prevent this, call the FC transport function
fc_block_scsi_eh which waits until the rport leaves the BLOCKED state.
This guarantees that communication is possible if the rport is ONLINE,
or the SCSI devices will be removed if the rport state switches to
NOT_PRESENT.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.h')
0 files changed, 0 insertions, 0 deletions