aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_ext.h
diff options
context:
space:
mode:
authorMaxim Shchetynin <maxim@de.ibm.com>2005-09-13 15:50:38 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-19 14:03:00 -0400
commit8a36e4532ea10471f0a8605207d071361d7be2c3 (patch)
treef34e5928de7d73b9aaf385f3fb0847a6c52c297b /drivers/s390/scsi/zfcp_ext.h
parent810f1e3ea5cc0a812816af97020a27c73441f8e9 (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.h26
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 *);
181extern void zfcp_erp_unit_access_changed(struct zfcp_unit *); 181extern void zfcp_erp_unit_access_changed(struct zfcp_unit *);
182 182
183/******************************** AUX ****************************************/ 183/******************************** AUX ****************************************/
184extern void zfcp_cmd_dbf_event_fsf(const char *, struct zfcp_fsf_req *, 184extern void zfcp_hba_dbf_event_fsf_response(struct zfcp_fsf_req *);
185 void *, int); 185extern void zfcp_hba_dbf_event_fsf_unsol(const char *, struct zfcp_adapter *,
186extern void zfcp_cmd_dbf_event_scsi(const char *, struct scsi_cmnd *); 186 struct fsf_status_read_buffer *);
187extern void zfcp_in_els_dbf_event(struct zfcp_adapter *, const char *, 187extern 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
191extern void zfcp_san_dbf_event_ct_request(struct zfcp_fsf_req *);
192extern void zfcp_san_dbf_event_ct_response(struct zfcp_fsf_req *);
193extern void zfcp_san_dbf_event_els_request(struct zfcp_fsf_req *);
194extern void zfcp_san_dbf_event_els_response(struct zfcp_fsf_req *);
195extern void zfcp_san_dbf_event_incoming_els(struct zfcp_fsf_req *);
196
197extern void zfcp_scsi_dbf_event_result(const char *, int, struct zfcp_adapter *,
198 struct scsi_cmnd *);
199extern void zfcp_scsi_dbf_event_abort(const char *, struct zfcp_adapter *,
200 struct scsi_cmnd *,
201 struct zfcp_fsf_req *);
202extern 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 */