mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
flo: init: I/O tweaks
Change-Id: I455547d746b53683eac26241541b65d904404bad (cherry picked from commit 9bcda749ff2ff9bdef0bf36300574ec6e4ea857f)
This commit is contained in:
parent
0230613c31
commit
cd037fdfc4
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,8 @@ on early-init
|
||||||
chown system system /sys/kernel/debug/kgsl/proc
|
chown system system /sys/kernel/debug/kgsl/proc
|
||||||
symlink /data/tombstones /tombstones
|
symlink /data/tombstones /tombstones
|
||||||
write /sys/devices/virtual/graphics/fb0/rgb "32768 32768 32768"
|
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
|
on init
|
||||||
# Support legacy paths
|
# Support legacy paths
|
||||||
|
@ -123,6 +125,10 @@ on boot
|
||||||
|
|
||||||
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
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
|
on post-fs
|
||||||
# Allow writing to the kernel trace log.
|
# Allow writing to the kernel trace log.
|
||||||
chmod 0222 /sys/kernel/debug/tracing/trace_marker
|
chmod 0222 /sys/kernel/debug/tracing/trace_marker
|
||||||
|
|
Loading…
Reference in a new issue