diff options
author | Andreas Herrmann <aherrman@de.ibm.com> | 2006-05-22 12:25:56 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-28 12:50:17 -0400 |
commit | 338151e066084d92d89f44311e5521ef847a50b9 (patch) | |
tree | 5783d26710203f2c5b309530334f3dd39ca68dfc /drivers/s390/scsi/zfcp_ext.h | |
parent | 75bfc2837bbcc329193d51e8b7115184b78beae0 (diff) |
[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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index ab38b8ce27aa..d02366004cdd 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -132,8 +132,6 @@ extern int zfcp_scsi_command_async(struct zfcp_adapter *,struct zfcp_unit *, | |||
132 | struct scsi_cmnd *, struct timer_list *); | 132 | struct scsi_cmnd *, struct timer_list *); |
133 | extern int zfcp_scsi_command_sync(struct zfcp_unit *, struct scsi_cmnd *, | 133 | extern int zfcp_scsi_command_sync(struct zfcp_unit *, struct scsi_cmnd *, |
134 | struct timer_list *); | 134 | struct timer_list *); |
135 | extern void zfcp_set_fc_host_attrs(struct zfcp_adapter *); | ||
136 | extern void zfcp_set_fc_rport_attrs(struct zfcp_port *); | ||
137 | extern struct scsi_transport_template *zfcp_transport_template; | 135 | extern struct scsi_transport_template *zfcp_transport_template; |
138 | extern struct fc_function_template zfcp_transport_functions; | 136 | extern struct fc_function_template zfcp_transport_functions; |
139 | 137 | ||