Skip to contentSkip to conversation

adaptive readahead update

PATCH New Fengguang Wu 1 participant 1 message Jan 6, 2007

lore
Share & tools
lore
#0 lore raw

cover adaptive readahead update

Andrew,

Here're more readahead updates. They go like:

series +6 -1
@@ -985,13 +985,17 @@
 readahead-sysctl-parameters.patch
 readahead-sysctl-parameters-use-ctl_unnumbered.patch
 readahead-sysctl-parameters-fix.patch
+readahead-sysctl-parameters-set-readahead_hit_rate-1.patch
 readahead-min-max-sizes.patch
+readahead-min-max-sizes-remove-get_readahead_bounds.patch
 readahead-state-based-method-aging-accounting.patch
 readahead-state-based-method-routines.patch
 readahead-state-based-method.patch
 readahead-context-based-method.patch
 readahead-context-based-method-locking-fix.patch
 readahead-context-based-method-locking-fix-2.patch
+readahead-context-based-method-update-ra_min.patch
+readahead-context-based-method-remove-readahead_ratio.patch
 readahead-initial-method-guiding-sizes.patch
 readahead-initial-method-thrashing-guard-size.patch
 readahead-initial-method-user-recommended-size.patch
@@ -1001,9 +1005,10 @@
 readahead-call-scheme.patch
 readahead-call-scheme-ifdef-fix.patch
 readahead-call-scheme-build-fix.patch
+readahead-call-scheme-remove-get_readahead_bounds.patch
-readahead-laptop-mode.patch
 readahead-loop-case.patch
 readahead-nfsd-case.patch
+readahead-nfsd-case-remove-ra_min.patch
 readahead-nfsd-case-fix.patch
 readahead-nfsd-case-fix-uninitialized-ra_min-ra_max.patch
 readahead-turn-on-by-default.patch

Summary of changes
==================

- change default value of readahead_hit_rate to 1
- remove defered readahead for laptop mode
- remove get_readahead_bounds() and update ra_min of the context method
- remove use of readahead_ratio in the context method

readahead-laptop-mode.patch
===========================

Please remove it for now.

It defers readahead when the laptop is spinned down, which may cause unpleasant delays if the user is watching movie and the media player do not cache enough data in userland.

readahead-nfsd-case-remove-ra_min.patch
=======================================

Please fold it immediately to avoid a compile error when bisecting.

readahead-insert-cond_resched-calls.patch readahead-remove-size-limit-on-read_ahead_kb.patch readahead-remove-size-limit-of-max_sectors_kb-on-read_ahead_kb.patch
====================================================================

It may be better to push them to mainline _before_ the other patches.

They solve some issues on large readahead size. The main users are currently some laptop mode users.

Regards,
Fengguang Wu
--