Skip to content

Commit

Permalink
Scale back read-ahead tweak to address lag
Browse files Browse the repository at this point in the history
  • Loading branch information
netarchy committed May 1, 2011
1 parent 8f56dca commit 0a4bc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mm.h
Expand Up @@ -1314,7 +1314,7 @@ int write_one_page(struct page *page, int wait);
void task_dirty_inc(struct task_struct *tsk);

/* readahead.c */
#define VM_MAX_READAHEAD 2048 /* 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,
Expand Down

0 comments on commit 0a4bc72

Please sign in to comment.