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
/
filemap.c
diff --git
a/mm/filemap.c
b/mm/filemap.c
index
83a45d3
..
4fdc966
100644
(file)
--- a/
mm/filemap.c
+++ b/
mm/filemap.c
@@
-1211,6
+1211,9
@@
int file_read_actor(read_descriptor_t *desc, struct page *page,
if (size > count)
size = count;
+ if (PageReadaheadUnused(page))
+ ClearPageReadaheadUnused(page);
+
/*
* Faults on the destination of a read are common, so do it before
* taking the kmap.