mm: changed readahead values to 1024 kbytes.

This commit is contained in:
tytung 2011-12-08 22:50:41 +08:00
parent ab498e72d4
commit df93a2fc56

View File

@ -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,