xfs
[Top] [All Lists]

Re: raid5: switching cache buffer size

To: XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Subject: Re: raid5: switching cache buffer size
From: Keith Owens <kaos@xxxxxxx>
Date: Wed, 30 Apr 2003 13:55:56 +1000
In-reply-to: Your message of "29 Apr 2003 23:38:26 -0400." <1051673906.6802.18.camel@pip>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On 29 Apr 2003 23:38:26 -0400, 
Danny Cox <danscox@xxxxxxxxxxxxxx> wrote:
>       As to why you're just seeing this now, I haven't a clue :-(.

The XFS tree has this patch to make raid5 less chatty.  PRINTK only
prints if RAID5_DEBUG is set, check the status of that #define.

--- linux/drivers/md/raid5.c_1.21       Wed Apr 30 13:52:46 2003
+++ linux/drivers/md/raid5.c_1.22       Wed Apr 30 13:52:46 2003
@@ -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;



<Prev in Thread] Current Thread [Next in Thread>