Skip to content

Commit

Permalink
include: mm: increase readahead buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkoreclipse authored and AbandonedCart committed Apr 14, 2012
1 parent 63289ef commit 36cc531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mm.h
Expand Up @@ -1316,7 +1316,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 1040 /* kbytes */
#define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */

int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
Expand Down

0 comments on commit 36cc531

Please sign in to comment.