cm: Set the IO scheduler based on a system property

Change-Id: Iab8314ed3a204c2d4815e008503d5a3bfa6b12cc
This commit is contained in:
Steve Kondik 2015-09-07 16:42:00 -07:00
parent cefa91c862
commit 26731f56cc

View File

@ -121,6 +121,13 @@ on property:ro.radio.noril=1
on property:persist.radio.noril=1 on property:persist.radio.noril=1
setprop ro.radio.noril 1 setprop ro.radio.noril 1
# Configure IO scheduler
on property:sys.io.scheduler=*
write /sys/block/mmcblk0/queue/scheduler ${sys.io.scheduler}
on property:persist.sys.io.scheduler=*
setprop sys.io.scheduler ${persist.sys.io.scheduler}
# sysinit (/system/etc/init.d) # sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit service sysinit /system/bin/sysinit
user root user root