aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2007-11-05 06:37:48 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-11 19:22:40 -0500
commit3f48985823001c89c9bd5c5e57cc07530578dfcc (patch)
treed8cb5480e91bb5741d996c7864581e0c2ebbbd29 /drivers
parent1de1b43b5f0bb536126e31f07ec833e01969ed1c (diff)
[SCSI] zfcp: Reduce flood on hba trace
Remove tracing for request with a "qualifier" field set in the response. The protocol status qualifier now contains measurement data for "good" commands, so this check would trace every response by default. The fix is to simply remove the "qual" tracing: The responses with an interesting status are also traced as "ferr" or "perr" and all responses can be traced as "norm" with a higher trace level. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c
index ffa3bf756943..701046c9bb33 100644
--- a/drivers/s390/scsi/zfcp_dbf.c
+++ b/drivers/s390/scsi/zfcp_dbf.c
@@ -161,12 +161,6 @@ void zfcp_hba_dbf_event_fsf_response(struct zfcp_fsf_req *fsf_req)
161 (fsf_req->fsf_command == FSF_QTCB_OPEN_LUN)) { 161 (fsf_req->fsf_command == FSF_QTCB_OPEN_LUN)) {
162 strncpy(rec->tag2, "open", ZFCP_DBF_TAG_SIZE); 162 strncpy(rec->tag2, "open", ZFCP_DBF_TAG_SIZE);
163 level = 4; 163 level = 4;
164 } else if ((prot_status_qual->doubleword[0] != 0) ||
165 (prot_status_qual->doubleword[1] != 0) ||
166 (fsf_status_qual->doubleword[0] != 0) ||
167 (fsf_status_qual->doubleword[1] != 0)) {
168 strncpy(rec->tag2, "qual", ZFCP_DBF_TAG_SIZE);
169 level = 3;
170 } else { 164 } else {
171 strncpy(rec->tag2, "norm", ZFCP_DBF_TAG_SIZE); 165 strncpy(rec->tag2, "norm", ZFCP_DBF_TAG_SIZE);
172 level = 6; 166 level = 6;