aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_def.h
diff options
context:
space:
mode:
authorMartin Peschke <mp3@de.ibm.com>2008-03-27 09:22:01 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:04 -0400
commit348447e85749120ad600a5c8e23b6bb7058b931d (patch)
treec7d524906bf256c113d32783e8bfaecad1d1657c /drivers/s390/scsi/zfcp_def.h
parentd79a83dbffe2e49e73f2903c350937faf2e0c2f1 (diff)
[SCSI] zfcp: Add trace records for recovery thread and its queues
This patch writes trace records which provide information about the operation of the zfcp error recovery thread and the queues it works on. Signed-off-by: Martin Peschke <mp3@de.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r--drivers/s390/scsi/zfcp_def.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index f29bee52848..332c83eba6c 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -279,13 +279,25 @@ struct zfcp_erp_dbf_record {
279 u8 dummy[16]; 279 u8 dummy[16];
280} __attribute__ ((packed)); 280} __attribute__ ((packed));
281 281
282struct zfcp_rec_dbf_record_thread {
283 u32 sema;
284 u32 total;
285 u32 ready;
286 u32 running;
287} __attribute__ ((packed));
288
282struct zfcp_rec_dbf_record { 289struct zfcp_rec_dbf_record {
283 u8 id; 290 u8 id;
284 u8 id2; 291 u8 id2;
285 union { 292 union {
293 struct zfcp_rec_dbf_record_thread thread;
286 } u; 294 } u;
287} __attribute__ ((packed)); 295} __attribute__ ((packed));
288 296
297enum {
298 ZFCP_REC_DBF_ID_THREAD,
299};
300
289struct zfcp_hba_dbf_record_response { 301struct zfcp_hba_dbf_record_response {
290 u32 fsf_command; 302 u32 fsf_command;
291 u64 fsf_reqid; 303 u64 fsf_reqid;