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:04 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:05 -0400
commit6f4f365e9c5d721c4d03ee8009dd6fab47feb045 (patch)
tree21bbaf06cf0889c2e81944381689703e3af90829 /drivers/s390/scsi/zfcp_def.h
parent9467a9b3efdd9041202f71cc270bda827a7ec777 (diff)
[SCSI] zfcp: Add trace records for recovery actions.
This patch writes trace records for various phases of a recovery action: action being created, action being processed, action continueing asynchronously, action gone, action timed out, action dismissed etc. 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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index aad75cfa1c60..9a4d870a820a 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -307,10 +307,18 @@ struct zfcp_rec_dbf_record_trigger {
307 u64 fcp_lun; 307 u64 fcp_lun;
308} __attribute__ ((packed)); 308} __attribute__ ((packed));
309 309
310struct zfcp_rec_dbf_record_action {
311 u32 status;
312 u32 step;
313 u64 action;
314 u64 fsf_req;
315} __attribute__ ((packed));
316
310struct zfcp_rec_dbf_record { 317struct zfcp_rec_dbf_record {
311 u8 id; 318 u8 id;
312 u8 id2; 319 u8 id2;
313 union { 320 union {
321 struct zfcp_rec_dbf_record_action action;
314 struct zfcp_rec_dbf_record_thread thread; 322 struct zfcp_rec_dbf_record_thread thread;
315 struct zfcp_rec_dbf_record_target target; 323 struct zfcp_rec_dbf_record_target target;
316 struct zfcp_rec_dbf_record_trigger trigger; 324 struct zfcp_rec_dbf_record_trigger trigger;
@@ -318,6 +326,7 @@ struct zfcp_rec_dbf_record {
318} __attribute__ ((packed)); 326} __attribute__ ((packed));
319 327
320enum { 328enum {
329 ZFCP_REC_DBF_ID_ACTION,
321 ZFCP_REC_DBF_ID_THREAD, 330 ZFCP_REC_DBF_ID_THREAD,
322 ZFCP_REC_DBF_ID_TARGET, 331 ZFCP_REC_DBF_ID_TARGET,
323 ZFCP_REC_DBF_ID_TRIGGER, 332 ZFCP_REC_DBF_ID_TRIGGER,