[SCSI] zfcp: Fix tracing of requests with error status
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Thu, 1 Apr 2010 11:04:08 +0000 (13:04 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 18:31:20 +0000 (13:31 -0500)
commit5bbf297cc652713a0a6511004b8d4c1cc21a3b02
treed13d5789c81b80827046db49a538fc76173addc1
parent07bbd0facdcda64f2c77fc6a505afd32e45fa506
[SCSI] zfcp: Fix tracing of requests with error status

When a FSF request is returned with an error it should be reported
through blktrace for the ziomon tools, but the latency information
should not be read. Fix this by also calling zfcp_fsf_req_trace for
the error case, but skip reading the latencies inside the function.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_fsf.c