[SCSI] zfcp: make use of fc_remote_port_delete when target port is unavailable
authorAndreas Herrmann <aherrman@de.ibm.com>
Mon, 22 May 2006 16:25:56 +0000 (18:25 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 28 May 2006 16:50:17 +0000 (12:50 -0400)
commit338151e066084d92d89f44311e5521ef847a50b9
tree5783d26710203f2c5b309530334f3dd39ca68dfc
parent75bfc2837bbcc329193d51e8b7115184b78beae0
[SCSI] zfcp: make use of fc_remote_port_delete when target port is unavailable

If zfcp's port erp fails we now call fc_remote_port_delete. This helps
to avoid offlined scsi devices if scsi commands time out due to path
failures. When an adapter erp fails we call fc_remote_port_delete for
all ports on that adapter.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_scsi.c