Skip to content

Commit

Permalink
scsi: core: Remove scsi_block_when_processing_errors: message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
loberman authored and martinkpetersen committed Oct 18, 2018
1 parent a1ad38a commit 37208be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/scsi/scsi_error.c
Expand Up @@ -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);
Expand Down

0 comments on commit 37208be

Please sign in to comment.