projects
/
linux-flexiantxendom0-natty.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBUNTU: SAUCE: add tracing for user initiated readahead requests
[linux-flexiantxendom0-natty.git]
/
mm
/
readahead.c
diff --git
a/mm/readahead.c
b/mm/readahead.c
index
77506a2
..
6948b92
100644
(file)
--- a/
mm/readahead.c
+++ b/
mm/readahead.c
@@
-181,6
+181,7
@@
__do_page_cache_readahead(struct address_space *mapping, struct file *filp,
list_add(&page->lru, &page_pool);
if (page_idx == nr_to_read - lookahead_size)
SetPageReadahead(page);
+ SetPageReadaheadUnused(page);
ret++;
}