From: Andi Kleen Date: Sat, 29 Jul 2006 19:42:55 +0000 (+0200) Subject: [PATCH] MM: Remove rogue readahead printk X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b83a8e64fd1aecf021111d22c062c97a3241d0c4;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 d087fc3d328..b9a60c43b61 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)); } /**