diff options
author | Felix Beck <felix.beck@de.ibm.com> | 2010-07-16 09:37:42 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-28 10:48:56 -0400 |
commit | ef3eb71d8ba4fd9d48c5f9310bc9d90ca00323b4 (patch) | |
tree | 9903cbae6c03184687c51b4be926572913cda93f /drivers/s390/scsi/zfcp_ext.h | |
parent | dcc18f48a2f1a44c5e8848f30d0cf53a8066c62a (diff) |
[SCSI] zfcp: Introduce experimental support for DIF/DIX
Introduce support for DIF/DIX in zfcp: Report the capabilities for the
Scsi_host, map the protection data when issuing I/O requests and
handle the new error codes. Also add the fsf data_direction field to
the hba trace, it is useful information for debugging in that area.
This is an EXPERIMENTAL feature for now.
Signed-off-by: Felix Beck <felix.beck@de.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_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index a8bb7488dc98..de0925f25dcc 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -164,6 +164,8 @@ extern void zfcp_scsi_schedule_rport_block(struct zfcp_port *); | |||
164 | extern void zfcp_scsi_schedule_rports_block(struct zfcp_adapter *); | 164 | extern void zfcp_scsi_schedule_rports_block(struct zfcp_adapter *); |
165 | extern void zfcp_scsi_scan(struct zfcp_unit *); | 165 | extern void zfcp_scsi_scan(struct zfcp_unit *); |
166 | extern void zfcp_scsi_scan_work(struct work_struct *); | 166 | extern void zfcp_scsi_scan_work(struct work_struct *); |
167 | extern void zfcp_scsi_set_prot(struct zfcp_adapter *); | ||
168 | extern void zfcp_scsi_dif_sense_error(struct scsi_cmnd *, int); | ||
167 | 169 | ||
168 | /* zfcp_sysfs.c */ | 170 | /* zfcp_sysfs.c */ |
169 | extern struct attribute_group zfcp_sysfs_unit_attrs; | 171 | extern struct attribute_group zfcp_sysfs_unit_attrs; |