Updated readahead-2.6.32.patch because of a recent kernel 2.6.32 stable patch.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-04-21 10:33:37 +00:00
parent 5a3dc8e8a8
commit ea4588ea60

View File

@@ -1,10 +1,10 @@
diff -upkr linux-2.6.32.1/mm/readahead.c linux-2.6.32.1/mm/readahead.c
--- linux-2.6.32.1/mm/readahead.c 2009-12-03 06:51:21.000000000 +0300
+++ linux-2.6.32.1/mm/readahead.c 2009-12-16 15:21:00.000000000 +0300
@@ -547,5 +547,8 @@ page_cache_async_readahead(struct addres
/* do read-ahead */
ondemand_readahead(mapping, ra, filp, true, offset, req_size);
@@ -565,5 +565,8 @@ page_cache_async_readahead(struct addres
if (PageUptodate(page))
blk_run_backing_dev(mapping->backing_dev_info, NULL);
#endif
+
+ if (PageUptodate(page))
+ blk_run_backing_dev(mapping->backing_dev_info, NULL);