aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorFengguang Wu <wfg@mail.ustc.edu.cn>2007-07-19 04:48:04 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 13:04:44 -0400
commitc743d96b6d2ff55a94df7b5ac7c74987bb9c343b (patch)
tree391e5dad21e62590e343c63e5ba05322d0fc76ad /include/linux/mm.h
parentdc7868fcb9a73990e6f30371c1be465c436a7a7f (diff)
readahead: remove the old algorithm
Remove the old readahead algorithm. Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn> Cc: Steven Pratt <slpratt@austin.ibm.com> Cc: Ram Pai <linuxram@us.ibm.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 619c0e80cf0c..3d0d7d285237 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1144,13 +1144,6 @@ unsigned long page_cache_readahead_ondemand(struct address_space *mapping,
1144 struct page *page, 1144 struct page *page,
1145 pgoff_t offset, 1145 pgoff_t offset,
1146 unsigned long size); 1146 unsigned long size);
1147unsigned long page_cache_readahead(struct address_space *mapping,
1148 struct file_ra_state *ra,
1149 struct file *filp,
1150 pgoff_t offset,
1151 unsigned long size);
1152void handle_ra_miss(struct address_space *mapping,
1153 struct file_ra_state *ra, pgoff_t offset);
1154unsigned long max_sane_readahead(unsigned long nr); 1147unsigned long max_sane_readahead(unsigned long nr);
1155 1148
1156/* Do stack extension */ 1149/* Do stack extension */