mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 13:11:27 +00:00
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@904 d57e44dd-8a1f-0410-8b47-8ef2f437770f
14 lines
420 B
Diff
14 lines
420 B
Diff
diff --git a/mm/readahead.c b/mm/readahead.c
|
|
index 133b6d5..fd3df66 100644
|
|
--- a/mm/readahead.c
|
|
+++ b/mm/readahead.c
|
|
@@ -473,5 +473,8 @@ page_cache_async_readahead(struct address_space *mapping,
|
|
|
|
/* 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);
|