git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zfcp: restore tracing of handle for port and LUN with HBA records
[pandora-kernel.git]
/
drivers
/
s390
/
scsi
/
zfcp_dbf.h
diff --git
a/drivers/s390/scsi/zfcp_dbf.h
b/drivers/s390/scsi/zfcp_dbf.h
index
714f087
..
ac7bce8
100644
(file)
--- a/
drivers/s390/scsi/zfcp_dbf.h
+++ b/
drivers/s390/scsi/zfcp_dbf.h
@@
-2,7
+2,7
@@
* zfcp device driver
* debug feature declarations
*
* zfcp device driver
* debug feature declarations
*
- * Copyright IBM Corp. 2008, 201
0
+ * Copyright IBM Corp. 2008, 201
5
*/
#ifndef ZFCP_DBF_H
*/
#ifndef ZFCP_DBF_H
@@
-17,6
+17,11
@@
#define ZFCP_DBF_INVALID_LUN 0xFFFFFFFFFFFFFFFFull
#define ZFCP_DBF_INVALID_LUN 0xFFFFFFFFFFFFFFFFull
+enum zfcp_dbf_pseudo_erp_act_type {
+ ZFCP_PSEUDO_ERP_ACTION_RPORT_ADD = 0xff,
+ ZFCP_PSEUDO_ERP_ACTION_RPORT_DEL = 0xfe,
+};
+
/**
* struct zfcp_dbf_rec_trigger - trace record for triggered recovery action
* @ready: number of ready recovery actions
/**
* struct zfcp_dbf_rec_trigger - trace record for triggered recovery action
* @ready: number of ready recovery actions
@@
-126,6
+131,8
@@
struct zfcp_dbf_hba_res {
u8 prot_status_qual[FSF_PROT_STATUS_QUAL_SIZE];
u32 fsf_status;
u8 fsf_status_qual[FSF_STATUS_QUALIFIER_SIZE];
u8 prot_status_qual[FSF_PROT_STATUS_QUAL_SIZE];
u32 fsf_status;
u8 fsf_status_qual[FSF_STATUS_QUALIFIER_SIZE];
+ u32 port_handle;
+ u32 lun_handle;
} __packed;
/**
} __packed;
/**
@@
-154,6
+161,7
@@
enum zfcp_dbf_hba_id {
ZFCP_DBF_HBA_RES = 1,
ZFCP_DBF_HBA_USS = 2,
ZFCP_DBF_HBA_BIT = 3,
ZFCP_DBF_HBA_RES = 1,
ZFCP_DBF_HBA_USS = 2,
ZFCP_DBF_HBA_BIT = 3,
+ ZFCP_DBF_HBA_BASIC = 4,
};
/**
};
/**
@@
-278,7
+286,7
@@
static inline
void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req)
{
if (level <= req->adapter->dbf->hba->level)
void zfcp_dbf_hba_fsf_resp(char *tag, int level, struct zfcp_fsf_req *req)
{
if (level <= req->adapter->dbf->hba->level)
- zfcp_dbf_hba_fsf_res(tag, req);
+ zfcp_dbf_hba_fsf_res(tag,
level,
req);
}
/**
}
/**
@@
-317,7
+325,7
@@
void _zfcp_dbf_scsi(char *tag, int level, struct scsi_cmnd *scmd,
scmd->device->host->hostdata[0];
if (level <= adapter->dbf->scsi->level)
scmd->device->host->hostdata[0];
if (level <= adapter->dbf->scsi->level)
- zfcp_dbf_scsi(tag, scmd, req);
+ zfcp_dbf_scsi(tag,
level,
scmd, req);
}
/**
}
/**