[PATCH for 2.6.18] [8/8] MM: Remove rogue readahead printk

Andi Kleen
2006-07-29T19:44:42Z

For some reason it triggers always with NFS root and spams the kernel
logs of my nfs root boxes a lot.

Cc: trond.myklebust@fys.uio.no
Signed-off-by: Andi Kleen <ak@suse.de>

---
mm/filemap.c | 2 --
1 files changed, 2 deletions(-)

Index: linux-2.6.18-rc2-git7/mm/filemap.c
===================================================================
--- linux-2.6.18-rc2-git7.orig/mm/filemap.c
+++ linux-2.6.18-rc2-git7/mm/filemap.c
@@ -849,8 +849,6 @@ static void shrink_readahead_size_eio(st
return;

ra->ra_pages /= 4;
- printk(KERN_WARNING "Reducing readahead size to %luK\n",
- ra->ra_pages << (PAGE_CACHE_SHIFT - 10));
}

/**