Skip to content

Commit

Permalink
Revert "mm: set 2 megabytes for address_space-level file read-ahead p…
Browse files Browse the repository at this point in the history
…ages size"

This reverts commit 06ed096.
  • Loading branch information
xanmod committed Nov 2, 2020
1 parent 5cbd798 commit fc12d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pagemap.h
Expand Up @@ -699,7 +699,7 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);
void delete_from_page_cache_batch(struct address_space *mapping,
struct pagevec *pvec);

#define VM_READAHEAD_PAGES (SZ_2M / PAGE_SIZE)
#define VM_READAHEAD_PAGES (SZ_128K / PAGE_SIZE)

void page_cache_sync_readahead(struct address_space *, struct file_ra_state *,
struct file *, pgoff_t index, unsigned long req_count);
Expand Down

0 comments on commit fc12d8f

Please sign in to comment.