summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_error.c
diff options
context:
space:
mode:
authorLaurence Oberman <loberman@redhat.com>2018-10-16 22:39:16 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-18 02:54:20 +0200
commit37208bee6a75574f66b28ae6bb536d9f9b6f22bf (patch)
treeb7e5073869430f909e12cc27b6219f59078a7cfc /drivers/scsi/scsi_error.c
parentscsi: ibmvscsi_tgt: Remove target_wait_for_sess_cmd() (diff)
downloadlinux-37208bee6a75574f66b28ae6bb536d9f9b6f22bf.tar.xz
linux-37208bee6a75574f66b28ae6bb536d9f9b6f22bf.zip
scsi: core: Remove scsi_block_when_processing_errors: message
This message floods the log when enabling mask 0x7 for /proc/sys/dev/scsi/logging_level: xxxxxxxx kernel: scsi_block_when_processing_errors: rtn: 1 It's not needed and makes tracing just scsi_eh* messages way too verbose so get rid of it. [mkp: mangled patch, applied by hand] Signed-off-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Chad Dupuis <chad.dupuis@cavium.com> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
-rw-r--r--drivers/scsi/scsi_error.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index b7a8fdfeb2f4..c736d61b1648 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -338,9 +338,6 @@ int scsi_block_when_processing_errors(struct scsi_device *sdev)
online = scsi_device_online(sdev);
- SCSI_LOG_ERROR_RECOVERY(5, sdev_printk(KERN_INFO, sdev,
- "%s: rtn: %d\n", __func__, online));
-
return online;
}
EXPORT_SYMBOL(scsi_block_when_processing_errors);