diff options
author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2016-07-18 06:05:07 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-07-20 18:36:12 -0700 |
commit | 374d138367f8f7bb45ca2ba696f7bff65cd8a345 (patch) | |
tree | b85c90a597d825b83907269e56653a6bbc2bdd7e /prebuilt | |
parent | a9322a2082b491ec67408b7e3366b5760dd4834e (diff) | |
download | vendor_replicant-374d138367f8f7bb45ca2ba696f7bff65cd8a345.zip vendor_replicant-374d138367f8f7bb45ca2ba696f7bff65cd8a345.tar.gz vendor_replicant-374d138367f8f7bb45ca2ba696f7bff65cd8a345.tar.bz2 |
cm: Configure mmcblk1 IO on sys.io.scheduler prop
Ensure that the IO parameters for mmcblk1 are always updated.
Change-Id: Ic6a4c453035052db639cf8a2c9336019d9908cc2
Diffstat (limited to 'prebuilt')
-rw-r--r-- | prebuilt/common/etc/init.local.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index e929351..2a5316d 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 |