[SCSI] ipr: Rate limit DMA mapping errors
authorAnton Blanchard <anton@samba.org>
Mon, 9 May 2011 00:07:40 +0000 (10:07 +1000)
committerJames Bottomley <jbottomley@parallels.com>
Tue, 17 May 2011 07:17:07 +0000 (11:17 +0400)
commit51f52a47527a07e45746b1bac1ab6123892095a0
tree709a14b83e78ea467d5dd1581b55f637a8390885
parentfda38518f236cbd965110938e324f6c6fcc91f38
[SCSI] ipr: Rate limit DMA mapping errors

I noticed a stream of errors from the IPR driver while doing
IOMMU fault injection. Rate limit the errors so we don't clog
up the console and logfiles.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c