mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin LaHaise <bcrl@redhat.com>
To: mingo@redhat.com, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [patch] silence an unnescessary raid5 debugging message
Date: Tue, 8 Oct 2002 18:03:50 -0400	[thread overview]
Message-ID: <20021008180350.A15858@redhat.com> (raw)

Hello Ingo,

LVM manages to trigger the "raid5: switching cache buffer size" printk 
quiet voluminously when using a snapshot device.  The following patch 
disables it by placing it under the debugging PRINTK macro.

		-ben
-- 
"Do you seek knowledge in time travel?"

diff -urN linux.orig/drivers/md/raid5.c linux/drivers/md/raid5.c
--- linux.orig/drivers/md/raid5.c	Mon Feb 25 14:37:58 2002
+++ linux/drivers/md/raid5.c	Tue Oct  8 17:56:43 2002
@@ -282,7 +282,7 @@
 				}
 
 				if (conf->buffer_size != size) {
-					printk("raid5: switching cache buffer size, %d --> %d\n", oldsize, size);
+					PRINTK("raid5: switching cache buffer size, %d --> %d\n", oldsize, size);
 					shrink_stripe_cache(conf);
 					if (size==0) BUG();
 					conf->buffer_size = size;

             reply	other threads:[~2002-10-08 21:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08 22:03 Benjamin LaHaise [this message]
2002-10-08 23:31 ` Neil Brown
2002-10-08 23:36   ` Benjamin LaHaise
2002-10-09  0:51     ` David S. Miller
2002-10-09  1:02       ` Benjamin LaHaise
2002-10-09 11:55         ` jw schultz
2002-10-09 17:36 David Mansfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021008180350.A15858@redhat.com \
    --to=bcrl@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®