[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)
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>

No differences found