mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
Patch from Klaus Hochlehnert <Mailings@kh-dev.de>:
Here's the readahead patch for Ubuntu 8.04 - 2.6.24 kernel git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@925 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
11
scst/kernel/unsupported/readahead-ubuntu-8.04-2.6.24.patch
Normal file
11
scst/kernel/unsupported/readahead-ubuntu-8.04-2.6.24.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- linux-2.6.24-24.53/mm/readahead.c 2008-02-11 06:51:11.000000000 +0100
|
||||
+++ linux-2.6.24-24.53.copy/mm/readahead.c 2009-06-09 21:59:13.640647726 +0200
|
||||
@@ -472,5 +472,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);
|
||||
Reference in New Issue
Block a user