UBUNTU: SAUCE: add tracing for user initiated readahead requests
[linux-flexiantxendom0-natty.git] / mm / readahead.c
index 77506a2..6948b92 100644 (file)
@@ -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++;
        }