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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:28 EST