]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/scsi_lib.c
scsi: ratelimit I/O error messages
authorHannes Reinecke <hare@suse.de>
Fri, 24 Oct 2014 12:27:07 +0000 (14:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 12 Nov 2014 10:16:08 +0000 (11:16 +0100)
commitf1569ff1d5ae0ca8598956be632947a88f540e2a
tree155b530df91e787139d595e37307c5c9411cf8eb
parentb6c92b7e0af575e2b8b05bdf33633cf9e1661cbf
scsi: ratelimit I/O error messages

There can be quite a lot of I/O error messages, even on smaller
machines. So we need to ratelimit them to not overwhelm logging.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Tested-by: Robert Elliott <elliott@hp.com>
Reviewed-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_lib.c