Permalink
Browse files

increase VM_MAX_READAHEAD

  • Loading branch information...
1 parent 8c4b8bf commit 874f642fca77cf98215657a9f1da35ee566a4a5e @gokhanmoral committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/linux/mm.h
View
@@ -1520,7 +1520,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,

0 comments on commit 874f642

Please sign in to comment.