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:03 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 13:19:04 -0400
commit9467a9b3efdd9041202f71cc270bda827a7ec777 (patch)
tree9e7b8e167da9aa5065b1f7ed1d2a1ab9c2ad47da /drivers/s390/scsi/zfcp_def.h
parent698ec01635819c5ae60090bb4efcbeffc41642fb (diff)
[SCSI] zfcp: Trace all triggers of error recovery activity
This patch allows any recovery event to be traced back to an exact cause, e.g. a particular request identified by an id (address). 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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index 659ec739706a..aad75cfa1c60 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -295,18 +295,32 @@ struct zfcp_rec_dbf_record_target {
295 u32 erp_count; 295 u32 erp_count;
296} __attribute__ ((packed)); 296} __attribute__ ((packed));
297 297
298struct zfcp_rec_dbf_record_trigger {
299 u8 want;
300 u8 need;
301 u32 as;
302 u32 ps;
303 u32 us;
304 u64 ref;
305 u64 action;
306 u64 wwpn;
307 u64 fcp_lun;
308} __attribute__ ((packed));
309
298struct zfcp_rec_dbf_record { 310struct zfcp_rec_dbf_record {
299 u8 id; 311 u8 id;
300 u8 id2; 312 u8 id2;
301 union { 313 union {
302 struct zfcp_rec_dbf_record_thread thread; 314 struct zfcp_rec_dbf_record_thread thread;
303 struct zfcp_rec_dbf_record_target target; 315 struct zfcp_rec_dbf_record_target target;
316 struct zfcp_rec_dbf_record_trigger trigger;
304 } u; 317 } u;
305} __attribute__ ((packed)); 318} __attribute__ ((packed));
306 319
307enum { 320enum {
308 ZFCP_REC_DBF_ID_THREAD, 321 ZFCP_REC_DBF_ID_THREAD,
309 ZFCP_REC_DBF_ID_TARGET, 322 ZFCP_REC_DBF_ID_TARGET,
323 ZFCP_REC_DBF_ID_TRIGGER,
310}; 324};
311 325
312struct zfcp_hba_dbf_record_response { 326struct zfcp_hba_dbf_record_response {