diff options
author | Steffen Maier <maier@linux.vnet.ibm.com> | 2016-12-09 19:16:32 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-14 23:15:48 +0300 |
commit | 56d23ed7adf3974f10e91b643bd230e9c65b5f79 (patch) | |
tree | 3e3016340fcc0d16ee74b7b078d2b8a96ca5a97c /drivers/s390/scsi/zfcp_scsi.c | |
parent | dac37e15b7d511e026a9313c8c46794c144103cd (diff) | |
download | linux-56d23ed7adf3974f10e91b643bd230e9c65b5f79.tar.xz |
scsi: zfcp: do not trace pure benign residual HBA responses at default level
Since quite a while, Linux issues enough SCSI commands per scsi_device
which successfully return with FCP_RESID_UNDER, FSF_FCP_RSP_AVAILABLE,
and SAM_STAT_GOOD. This floods the HBA trace area and we cannot see
other and important HBA trace records long enough.
Therefore, do not trace HBA response errors for pure benign residual
under counts at the default trace level.
This excludes benign residual under count combined with other validity
bits set in FCP_RSP_IU, such as FCP_SNS_LEN_VAL. For all those other
cases, we still do want to see both the HBA record and the corresponding
SCSI record by default.
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Fixes: a54ca0f62f95 ("[SCSI] zfcp: Redesign of the debug tracing for HBA records.")
Cc: <stable@vger.kernel.org> #2.6.37+
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
0 files changed, 0 insertions, 0 deletions