Files
linux/drivers
Andi Kleen eaa3e22e8d [SCSI] sg: Only print SCSI data direction warning once for a command
When I use cdparanoia my logs get spammed a lot by

printk: 464 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
   program cdparanoia not setting count and/or reply_len properly
printk: 1078 messages suppressed.

and many more of those. With this patch the message is only printed once
for a command in a row.

v1->v2: Prevent rate limit messages too (pointed out by jejb)

Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-01-23 11:29:27 -06:00
..
2007-10-17 08:42:52 -07:00
2007-10-29 17:27:50 -04:00
2007-10-16 09:43:09 -07:00
2008-01-11 18:29:22 -06:00
2007-12-12 13:45:25 +01:00
2008-01-11 11:42:07 -08:00
2008-01-11 18:29:22 -06:00
2007-12-31 23:11:11 +00:00
2007-11-29 09:24:53 -08:00
2007-12-12 20:01:00 +01:00
2007-12-23 12:54:37 -08:00
2007-12-17 19:28:15 -08:00
2007-10-17 08:42:57 -07:00
2008-01-11 18:29:22 -06:00
2008-01-11 11:47:43 -08:00
2007-11-14 18:45:36 -08:00
2007-12-04 16:48:06 +00:00
2007-10-23 15:49:54 +10:00