diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2009-05-28 16:17:26 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-08 13:07:34 -0500 |
commit | 7d0e462247241b8ec2d377306203b58c7f423553 (patch) | |
tree | 8460e4c8b58f05b99a1b802c3be85345d3708e01 /drivers/scsi/scsi_lib.c | |
parent | 85e2399e925e0afa04dd6e185a910bdd3dc4626b (diff) |
[SCSI] ibmvfc: Reduce error logging noise
The ibmvfc driver currently logs errors during discovery for several
transient fabric errors, which generally get retried. If retries
do not work, we see multiple errors in the log. If retries do work,
we see errors in the log which may be confusing since the retry worked.
This patch enhances the discovery time error logging to only log errors
for command failures during discovery if all allowed retries have been
used up. The existing behavior of logging all failures can be restored
by setting the hosts log_level to a value of 3 or greater.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions