From 374d138367f8f7bb45ca2ba696f7bff65cd8a345 Mon Sep 17 00:00:00 2001 From: Zhao Wei Liew Date: Mon, 18 Jul 2016 06:05:07 +0200 Subject: [PATCH] cm: Configure mmcblk1 IO on sys.io.scheduler prop Ensure that the IO parameters for mmcblk1 are always updated. Change-Id: Ic6a4c453035052db639cf8a2c9336019d9908cc2 --- prebuilt/common/etc/init.local.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index e9293519..2a5316d4 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -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