From dbf7872ab34bbba9b8f1f20197436b1667989342 Mon Sep 17 00:00:00 2001 From: milaq Date: Tue, 31 Jan 2012 21:24:16 +0100 Subject: [PATCH] init: use default bravo read_ahead_kb and readd blocks 0-2 --- prebuilt/init.htcleo.rc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/prebuilt/init.htcleo.rc b/prebuilt/init.htcleo.rc index 1c72bd4..5f38715 100644 --- a/prebuilt/init.htcleo.rc +++ b/prebuilt/init.htcleo.rc @@ -70,11 +70,12 @@ on boot setprop ro.ril.def.agps.mode 2 # performance tweaks for flash - write /sys/block/mtdblock3/bdi/read_ahead_kb 2048 - write /sys/block/mtdblock4/bdi/read_ahead_kb 2048 - write /sys/block/mtdblock5/bdi/read_ahead_kb 2048 - # increase read throughput from sd card - write /sys/block/mmcblk0/bdi/read_ahead_kb 204 + write /sys/block/mtdblock0/bdi/read_ahead_kb 4 + write /sys/block/mtdblock1/bdi/read_ahead_kb 4 + write /sys/block/mtdblock2/bdi/read_ahead_kb 4 + write /sys/block/mtdblock3/bdi/read_ahead_kb 4 + write /sys/block/mtdblock4/bdi/read_ahead_kb 4 + write /sys/block/mtdblock5/bdi/read_ahead_kb 4 # for wireless modem chown system system /sys/module/serial/parameters/modem_enabled