From: Andi Kleen Date: Sat, 29 Jul 2006 19:42:55 +0000 (+0200) Subject: [PATCH] MM: Remove rogue readahead printk X-Git-Tag: v2.6.18-rc3~2 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=b83a8e64fd1aecf021111d22c062c97a3241d0c4;p=powerpc.git [PATCH] MM: Remove rogue readahead printk For some reason it triggers always with NFS root and spams the kernel logs of my nfs root boxes a lot. Signed-off-by: Andi Kleen Acked-by: Trond Myklebust Signed-off-by: Linus Torvalds --- diff --git a/mm/filemap.c b/mm/filemap.c index d087fc3d32..b9a60c43b6 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -849,8 +849,6 @@ static void shrink_readahead_size_eio(struct file *filp, return; ra->ra_pages /= 4; - printk(KERN_WARNING "Reducing readahead size to %luK\n", - ra->ra_pages << (PAGE_CACHE_SHIFT - 10)); } /**