]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95a8b2ae11be1c355624cc4182017b89f4d316b9
tree155b530df91e787139d595e37307c5c9411cf8eb
parentbf1ab7e6904e2e1ffa3f64a34d5957995f5e7d11
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