summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2019-03-05 01:22:20 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-03-05 01:22:20 +0000
commitd1569cf055f20bb8545e1c3a025e679c13e24428 (patch)
tree9b71a22821663b5a9f1582712f59fb30c008ba34
parentad090e720fc25fbcd52c400858c335ab8cdc38bf (diff)
parentb8c71b8caaa03d217610978aabbd4e797441cc85 (diff)
downloaddevice_google_taimen-d1569cf055f20bb8545e1c3a025e679c13e24428.tar.gz
device_google_taimen-d1569cf055f20bb8545e1c3a025e679c13e24428.tar.bz2
device_google_taimen-d1569cf055f20bb8545e1c3a025e679c13e24428.zip
Merge "Boottime: remove all block-related tunes including readahead size"
-rw-r--r--init-taimen.rc26
1 files changed, 0 insertions, 26 deletions
diff --git a/init-taimen.rc b/init-taimen.rc
index 4a70d9e..be27341 100644
--- a/init-taimen.rc
+++ b/init-taimen.rc
@@ -1,29 +1,3 @@
-on late-fs
- # boot time fs tune
- write /sys/block/sda/queue/iostats 0
- write /sys/block/sda/queue/scheduler cfq
- write /sys/block/sda/queue/iosched/slice_idle 0
- write /sys/block/sda/queue/read_ahead_kb 2048
- write /sys/block/sda/queue/nr_requests 256
- write /sys/block/sde/queue/iostats 0
- write /sys/block/sde/queue/scheduler cfq
- write /sys/block/sde/queue/iosched/slice_idle 0
- write /sys/block/sde/queue/read_ahead_kb 2048
- write /sys/block/sde/queue/nr_requests 256
- write /sys/block/dm-0/queue/read_ahead_kb 2048
- write /sys/block/dm-1/queue/read_ahead_kb 2048
-
-on property:sys.boot_completed=1
- # end boot time fs tune
- write /sys/block/sda/queue/read_ahead_kb 128
- write /sys/block/sda/queue/nr_requests 128
- write /sys/block/sda/queue/iostats 1
- write /sys/block/sde/queue/read_ahead_kb 128
- write /sys/block/sde/queue/nr_requests 128
- write /sys/block/sde/queue/iostats 1
- write /sys/block/dm-0/queue/read_ahead_kb 128
- write /sys/block/dm-1/queue/read_ahead_kb 128
-
on boot
# Allow ftm4 autotune from adb shell
chown system shell /sys/devices/virtual/input/ftm4_touch/autotune