diff options
author | Maxim Shchetynin <maxim@de.ibm.com> | 2005-09-13 15:50:38 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-19 14:03:00 -0400 |
commit | 8a36e4532ea10471f0a8605207d071361d7be2c3 (patch) | |
tree | f34e5928de7d73b9aaf385f3fb0847a6c52c297b /drivers/s390/scsi/zfcp_ext.h | |
parent | 810f1e3ea5cc0a812816af97020a27c73441f8e9 (diff) |
[SCSI] zfcp: enhancement of zfcp debug features
Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and
san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not
change.
The new traces improve debugging of problems with zfcp, scsi-stack,
multipath and hardware in the SAN. san_dbf traces things like ELS and
CT commands, hba_dbf saves HBA specific information of requests, and
scsi_dbf saves FCP and SCSI specific information of requests. Common
to all new DBFs is that they provide a so called structured view. This
significantly improves readability of the traces.
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 | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index c400e3b9de97..104b7423fd4d 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -181,9 +181,25 @@ extern void zfcp_erp_port_access_changed(struct zfcp_port *); | |||
181 | extern void zfcp_erp_unit_access_changed(struct zfcp_unit *); | 181 | extern void zfcp_erp_unit_access_changed(struct zfcp_unit *); |
182 | 182 | ||
183 | /******************************** AUX ****************************************/ | 183 | /******************************** AUX ****************************************/ |
184 | extern void zfcp_cmd_dbf_event_fsf(const char *, struct zfcp_fsf_req *, | 184 | extern void zfcp_hba_dbf_event_fsf_response(struct zfcp_fsf_req *); |
185 | void *, int); | 185 | extern void zfcp_hba_dbf_event_fsf_unsol(const char *, struct zfcp_adapter *, |
186 | extern void zfcp_cmd_dbf_event_scsi(const char *, struct scsi_cmnd *); | 186 | struct fsf_status_read_buffer *); |
187 | extern void zfcp_in_els_dbf_event(struct zfcp_adapter *, const char *, | 187 | extern void zfcp_hba_dbf_event_qdio(struct zfcp_adapter *, |
188 | struct fsf_status_read_buffer *, int); | 188 | unsigned int, unsigned int, unsigned int, |
189 | int, int); | ||
190 | |||
191 | extern void zfcp_san_dbf_event_ct_request(struct zfcp_fsf_req *); | ||
192 | extern void zfcp_san_dbf_event_ct_response(struct zfcp_fsf_req *); | ||
193 | extern void zfcp_san_dbf_event_els_request(struct zfcp_fsf_req *); | ||
194 | extern void zfcp_san_dbf_event_els_response(struct zfcp_fsf_req *); | ||
195 | extern void zfcp_san_dbf_event_incoming_els(struct zfcp_fsf_req *); | ||
196 | |||
197 | extern void zfcp_scsi_dbf_event_result(const char *, int, struct zfcp_adapter *, | ||
198 | struct scsi_cmnd *); | ||
199 | extern void zfcp_scsi_dbf_event_abort(const char *, struct zfcp_adapter *, | ||
200 | struct scsi_cmnd *, | ||
201 | struct zfcp_fsf_req *); | ||
202 | extern void zfcp_scsi_dbf_event_devreset(const char *, u8, struct zfcp_unit *, | ||
203 | struct scsi_cmnd *); | ||
204 | |||
189 | #endif /* ZFCP_EXT_H */ | 205 | #endif /* ZFCP_EXT_H */ |