Skip to content

Commit

Permalink
block: set readahead to 512
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
  • Loading branch information
nathanchance authored and Angheloaia Victor committed Mar 26, 2020
1 parent 9948bf1 commit df5ce79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mm.h
Expand Up @@ -2246,7 +2246,7 @@ int __must_check write_one_page(struct page *page);
void task_dirty_inc(struct task_struct *tsk);

/* readahead.c */
#define VM_MAX_READAHEAD 128 /* kbytes */
#define VM_MAX_READAHEAD 512 /* kbytes */
#define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */
extern int mmap_readaround_limit;

Expand Down

0 comments on commit df5ce79

Please sign in to comment.