cm: Configure mmcblk1 IO on sys.io.scheduler prop

Ensure that the IO parameters for mmcblk1 are always updated.

Change-Id: Ic6a4c453035052db639cf8a2c9336019d9908cc2
This commit is contained in:
Zhao Wei Liew 2016-07-18 06:05:07 +02:00 committed by Gerrit Code Review
parent a9322a2082
commit 374d138367

View file

@ -187,6 +187,7 @@ on property:persist.radio.noril=1
# Configure IO scheduler
on property:sys.io.scheduler=*
write /sys/block/mmcblk0/queue/scheduler ${sys.io.scheduler}
write /sys/block/mmcblk1/queue/scheduler ${sys.io.scheduler}
write /sys/block/sda/queue/scheduler ${sys.io.scheduler}
write /sys/block/sde/queue/scheduler ${sys.io.scheduler}
write /sys/block/dm-0/queue/scheduler ${sys.io.scheduler}
@ -197,6 +198,7 @@ on property:persist.sys.io.scheduler=*
# Set slice_idle to 0 for CFQ
on property:sys.io.scheduler=cfq
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk1/queue/iosched/slice_idle 0
write /sys/block/sda/queue/iosched/slice_idle 0
write /sys/block/sde/queue/iosched/slice_idle 0
write /sys/block/dm-0/queue/iosched/slice_idle 0
@ -204,6 +206,7 @@ on property:sys.io.scheduler=cfq
# Set slice_idle to 0 for BFQ
on property:sys.io.scheduler=bfq
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk1/queue/iosched/slice_idle 0
write /sys/block/sda/queue/iosched/slice_idle 0
write /sys/block/sde/queue/iosched/slice_idle 0
write /sys/block/dm-0/queue/iosched/slice_idle 0