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:
parent
a9322a2082
commit
374d138367
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue