From: Christof Schmitt Date: Tue, 18 Aug 2009 13:43:08 +0000 (+0200) Subject: [SCSI] zfcp: Only collect SCSI debug data for matching trace levels X-Git-Tag: v2.6.32-rc1~689^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd20e2316cdc333dfdee09649dbe3642eb30e75;p=pandora-kernel.git [SCSI] zfcp: Only collect SCSI debug data for matching trace levels The default trace level is to only trace failed SCSI commands. Thus it is not necessary to collect trace data for most SCSI commands since it will be thrown away later. Restructure the SCSI trace infrastructure to first check the trace level in a inline function and only do the expensive data collection for matching trace levels. Reviewed-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed