diff --git a/scst/README b/scst/README index cd2bac352..fda05451c 100644 --- a/scst/README +++ b/scst/README @@ -83,7 +83,8 @@ scst_exec_req_fifo-2.6.X.patch. 2. readahead-2.6.X.patch. This patch fixes problem in Linux readahead subsystem and greatly improves performance for software RAIDs. See http://sourceforge.net/mailarchive/forum.php?thread_name=a0272b440906030714g67eabc5k8f847fb1e538cc62%40mail.gmail.com&forum_name=scst-devel -thread for more details. It is included in the mainstream kernel 2.6.33. +thread for more details. It is included in the mainstream kernels 2.6.33 +and 2.6.32.11. 3. readahead-context-2.6.X.patch. This is backported from 2.6.31 version of the context readahead patch http://lkml.org/lkml/2009/4/12/9, big diff --git a/scst/kernel/readahead-2.6.32.below11.patch b/scst/kernel/readahead-2.6.32.below11.patch new file mode 100644 index 000000000..3ff3f37cd --- /dev/null +++ b/scst/kernel/readahead-2.6.32.below11.patch @@ -0,0 +1,12 @@ +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); ++ ++ if (PageUptodate(page)) ++ blk_run_backing_dev(mapping->backing_dev_info, NULL); + } + EXPORT_SYMBOL_GPL(page_cache_async_readahead);