public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sym53c8xx phase change log suppression
@ 2006-01-13 20:02 Volker Kuhlmann
  2006-01-13 20:15 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: Volker Kuhlmann @ 2006-01-13 20:02 UTC (permalink / raw)
  To: linux-scsi

I get a huge number of these phase change entries in syslog, just about
with ever SCSI transfer. That's with a scanner anyway, on AMD64. As they
seem to be harmless, this patch allows to prevent syslog being filled
by using verb=0. Perhaps verb=1 should also suppress it?

Thanks,

Volker


--- linux-2.6.13-15.7/drivers/scsi/sym53c8xx_2/sym_hipd.c.orig	2005-08-29 11:41:01.000000000 +1200
+++ linux-2.6.13-15.7/drivers/scsi/sym53c8xx_2/sym_hipd.c	2006-01-12 22:46:15.000000000 +1300
@@ -2556,6 +2556,11 @@ static void sym_int_ma (struct sym_hcb *
 	 *  if old phase not dataphase, leave here.
 	 */
 	if (cmd & 2) {
+		/* Huge number of these phase changes logged in normal use
+		   (at least with a scanner).
+		   Allow to suppress with verb=0.
+		   Volker Kuhlmann, VolkerKuhlmann@gmx.de 12 Jan 2006 */
+		if (sym_verbose >= 1)
 		sym_print_addr(cp->cmd,
 			"phase change %x-%x %d@%08x resid=%d.\n",
 			cmd&7, INB(np, nc_sbcl)&7, (unsigned)olen,

-- 
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-13 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13 20:02 [PATCH] sym53c8xx phase change log suppression Volker Kuhlmann
2006-01-13 20:15 ` Matthew Wilcox
2006-01-13 21:06   ` Volker Kuhlmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox