summaryrefslogtreecommitdiff
path: root/pm/power.d/readahead
diff options
context:
space:
mode:
Diffstat (limited to 'pm/power.d/readahead')
-rw-r--r--pm/power.d/readahead3
1 files changed, 3 insertions, 0 deletions
diff --git a/pm/power.d/readahead b/pm/power.d/readahead
index c61ce43..3636909 100644
--- a/pm/power.d/readahead
+++ b/pm/power.d/readahead
@@ -2,6 +2,9 @@
[ -x /sbin/blockdev ] || exit $NA
+# more readahead = (hopefully) less hard drive activity.
+# less readahead = less trashing the page cache.
+
readahead() {
# the intent here is to iterate through all filesystems
# mounted on a local block device. It Works For The Maintainer(tm).