mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1145 d57e44dd-8a1f-0410-8b47-8ef2f437770f
13 lines
489 B
Diff
13 lines
489 B
Diff
diff -upkr linux-2.6.31/mm/readahead.c linux-2.6.31/mm/readahead.c
|
|
--- linux-2.6.31/mm/readahead.c 2009-09-10 02:13:59.000000000 +0400
|
|
+++ linux-2.6.31/mm/readahead.c 2009-09-23 14:17:26.000000000 +0400
|
|
@@ -547,5 +547,8 @@ page_cache_async_readahead(struct addres
|
|
|
|
/* do read-ahead */
|
|
ondemand_readahead(mapping, ra, filp, true, offset, req_size);
|
|
+
|
|
+ if (PageUptodate(page))
|
|
+ blk_run_backing_dev(mapping->backing_dev_info, NULL);
|
|
}
|
|
EXPORT_SYMBOL_GPL(page_cache_async_readahead);
|