From df93a2fc5622ca7271d8ffa589f4efb261fe807c Mon Sep 17 00:00:00 2001 From: tytung Date: Thu, 8 Dec 2011 22:50:41 +0800 Subject: [PATCH] mm: changed readahead values to 1024 kbytes. --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 397a3774..9435fdd4 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1170,7 +1170,7 @@ int write_one_page(struct page *page, int wait); void task_dirty_inc(struct task_struct *tsk); /* readahead.c */ -#define VM_MAX_READAHEAD 128 /* kbytes */ +#define VM_MAX_READAHEAD 1024 /* kbytes */ #define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */ int force_page_cache_readahead(struct address_space *mapping, struct file *filp,