diff options
author | Martin Peschke <mp3@de.ibm.com> | 2008-03-27 09:22:03 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:04 -0400 |
commit | 9467a9b3efdd9041202f71cc270bda827a7ec777 (patch) | |
tree | 9e7b8e167da9aa5065b1f7ed1d2a1ab9c2ad47da /drivers/s390/scsi/zfcp_def.h | |
parent | 698ec01635819c5ae60090bb4efcbeffc41642fb (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.h | 14 |
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 | ||
298 | struct 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 | |||
298 | struct zfcp_rec_dbf_record { | 310 | struct 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 | ||
307 | enum { | 320 | enum { |
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 | ||
312 | struct zfcp_hba_dbf_record_response { | 326 | struct zfcp_hba_dbf_record_response { |