flo: init: I/O tweaks

Change-Id: I455547d746b53683eac26241541b65d904404bad
(cherry picked from commit 9bcda749ff2ff9bdef0bf36300574ec6e4ea857f)
This commit is contained in:
D. Andrei Măceș 2016-09-04 10:37:13 -04:00 committed by followmsi
parent 0d55c22a77
commit 4607ce8930

View file

@ -22,6 +22,8 @@ on early-init
chown system system /sys/kernel/debug/kgsl/proc
symlink /data/tombstones /tombstones
write /sys/devices/virtual/graphics/fb0/rgb "32768 32768 32768"
write /sys/block/mmcblk0/bdi/read_ahead_kb 512
write /sys/block/mmcblk0/queue/scheduler noop
on init
# Support legacy paths
@ -123,6 +125,10 @@ on boot
chown wifi wifi /sys/module/wlan/parameters/fwpath
on property:sys.boot_completed=1
setprop sys.io.scheduler bfq
write /sys/block/mmcblk0/bdi/read_ahead_kb 256
on post-fs
# Allow writing to the kernel trace log.
chmod 0222 /sys/kernel/debug/tracing/trace_marker