Steve Kondik | a89711a | 2010-07-07 09:06:13 -0400 | [diff] [blame] | 1 | # CyanogenMod Extras |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 2 | on init |
| 3 | export ANDROID_CACHE /cache |
| 4 | export TERMINFO /system/etc/terminfo |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 5 | |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 6 | # Set up the BFQIO hierarchy |
Zhao Wei Liew | 726a4fc | 2016-09-08 22:17:15 +0800 | [diff] [blame] | 7 | mkdir /dev/bfqio 0755 root system |
| 8 | mount cgroup none /dev/bfqio bfqio |
| 9 | chown root system /dev/bfqio/tasks |
| 10 | chmod 0664 /dev/bfqio/tasks |
| 11 | chmod 0220 /dev/bfqio/cgroup.event_control |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 12 | |
Steve Kondik | b61b6df | 2015-09-20 20:58:43 -0700 | [diff] [blame] | 13 | # Soft realtime class for display service |
Zhao Wei Liew | 726a4fc | 2016-09-08 22:17:15 +0800 | [diff] [blame] | 14 | mkdir /dev/bfqio/rt-display 0755 root system |
| 15 | write /dev/bfqio/rt-display/bfqio.ioprio_class 1 |
| 16 | chown system system /dev/bfqio/rt-display/tasks |
| 17 | chmod 0664 /dev/bfqio/rt-display/tasks |
| 18 | chmod 0220 /dev/bfqio/rt-display/cgroup.event_control |
Steve Kondik | 28dbc8b | 2015-09-07 23:23:10 -0700 | [diff] [blame] | 19 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 20 | on post-fs-data |
Luca Stefani | bd3d22e | 2016-01-09 06:53:54 -0800 | [diff] [blame] | 21 | mkdir /data/ssh 0750 root shell |
| 22 | mkdir /data/ssh/empty 0600 root shell |
Lin Ma | d32b741 | 2015-05-31 15:55:38 -0700 | [diff] [blame] | 23 | mkdir /cache/recovery 0770 system cache |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 24 | |
Ricardo Cerqueira | 6698e5e | 2012-11-23 17:15:16 +0000 | [diff] [blame] | 25 | # Run sysinit |
| 26 | start sysinit |
| 27 | |
Matt Mower | 1b4eeb3 | 2016-06-03 16:41:00 -0500 | [diff] [blame] | 28 | # Change permissions on fsck log so it can be added to the dropbox |
| 29 | chown root log /dev/fscklogs/log |
| 30 | chmod 0640 /dev/fscklogs/log |
| 31 | |
Ricardo Cerqueira | 79ba997 | 2013-06-12 12:12:18 +0100 | [diff] [blame] | 32 | on boot |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 33 | # interactive governor |
| 34 | chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_rate |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 35 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/timer_rate |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 36 | chown system system /sys/devices/system/cpu/cpufreq/interactive/timer_slack |
| 37 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/timer_slack |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 38 | chown system system /sys/devices/system/cpu/cpufreq/interactive/min_sample_time |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 39 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/min_sample_time |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 40 | chown system system /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 41 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 42 | chown system system /sys/devices/system/cpu/cpufreq/interactive/target_loads |
| 43 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/target_loads |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 44 | chown system system /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 45 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 46 | chown system system /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 47 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 48 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 49 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boost |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 50 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 51 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boostpulse |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 52 | chown system system /sys/devices/system/cpu/cpufreq/interactive/input_boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 53 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/input_boost |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 54 | chown system system /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 55 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration |
Giulio Cervera | 989a313 | 2013-07-12 17:44:16 +0200 | [diff] [blame] | 56 | chown system system /sys/devices/system/cpu/cpufreq/interactive/io_is_busy |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 57 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/io_is_busy |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 58 | chown system system /sys/devices/system/cpu/cpufreq/interactive/sync_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 59 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/sync_freq |
Arne Coucheron | 1a1b4dc | 2014-11-19 01:48:30 +0100 | [diff] [blame] | 60 | chown system system /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq |
| 61 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 62 | chown system system /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 63 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 64 | chown system system /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 65 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor |
Dave Daynard | 4a2f567 | 2016-01-16 10:26:18 -0500 | [diff] [blame] | 66 | chown system system /sys/devices/system/cpu/cpufreq/interactive/max_freq_hysteresis |
| 67 | chmod 0664 /sys/devices/system/cpu/cpufreq/interactive/max_freq_hysteresis |
Steve Kondik | 9d1a861 | 2014-01-15 01:44:07 +0800 | [diff] [blame] | 68 | |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 69 | # ondemand governor |
| 70 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boostfreq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 71 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boostfreq |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 72 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boostpulse |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 73 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boostpulse |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 74 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/boosttime |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 75 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/boosttime |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 76 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 77 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 78 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 79 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/down_differential |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 80 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 81 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 82 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 83 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 84 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 85 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 86 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 87 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold |
Steve Kondik | 686cbf2 | 2013-10-04 04:31:56 -0700 | [diff] [blame] | 88 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/input_boost |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 89 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/input_boost |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 90 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 91 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 92 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 93 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 94 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 95 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 96 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/sync_freq |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 97 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/sync_freq |
Steve Kondik | f9bb777 | 2013-10-07 23:39:12 -0700 | [diff] [blame] | 98 | chown system system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load |
Steve Kondik | b4fb953 | 2014-02-23 21:49:00 +0100 | [diff] [blame] | 99 | chmod 0664 /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load |
Giulio Cervera | a76d898 | 2013-05-21 14:23:19 +0200 | [diff] [blame] | 100 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 101 | chown system system /sys/block/mmcblk0/queue/scheduler |
| 102 | chmod 0664 /sys/block/mmcblk0/queue/scheduler |
Pawit Pornkitprasan | 24a971a | 2015-01-03 12:44:43 +0700 | [diff] [blame] | 103 | restorecon /sys/block/mmcblk0/queue/scheduler |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 104 | |
Chenxi Mao | 869a04f | 2016-06-23 17:08:28 +0800 | [diff] [blame] | 105 | chown system system /sys/block/sda/queue/scheduler |
| 106 | chmod 0664 /sys/block/sda/queue/scheduler |
| 107 | restorecon /sys/block/sda/queue/scheduler |
| 108 | |
| 109 | chown system system /sys/block/sde/queue/scheduler |
| 110 | chmod 0664 /sys/block/sde/queue/scheduler |
| 111 | restorecon /sys/block/sde/queue/scheduler |
| 112 | |
| 113 | chown system system /sys/block/dm-0/queue/scheduler |
| 114 | chmod 0664 /sys/block/dm-0/queue/scheduler |
| 115 | restorecon /sys/block/dm-0/queue/scheduler |
| 116 | |
Arne Coucheron | 08297ed | 2015-04-03 02:01:36 +0200 | [diff] [blame] | 117 | chown system system /dev/cpuctl/cpu.notify_on_migrate |
| 118 | chmod 0664 /dev/cpuctl/cpu.notify_on_migrate |
Steve Kondik | 6a0f530 | 2013-10-02 11:28:28 -0700 | [diff] [blame] | 119 | |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame] | 120 | # LiveDisplay sysfs |
| 121 | chown system system /sys/devices/virtual/graphics/fb0/aco |
| 122 | chmod 0660 /sys/devices/virtual/graphics/fb0/aco |
| 123 | chown system system /sys/devices/virtual/graphics/fb0/cabc |
| 124 | chmod 0660 /sys/devices/virtual/graphics/fb0/cabc |
| 125 | chown system system /sys/devices/virtual/graphics/fb0/rgb |
| 126 | chmod 0660 /sys/devices/virtual/graphics/fb0/rgb |
| 127 | chown system system /sys/devices/virtual/graphics/fb0/sre |
| 128 | chmod 0660 /sys/devices/virtual/graphics/fb0/sre |
Zhao Wei Liew | de1ad36 | 2016-04-30 14:57:22 +0800 | [diff] [blame] | 129 | chown system system /sys/devices/virtual/graphics/fb0/color_enhance |
| 130 | chmod 0660 /sys/devices/virtual/graphics/fb0/color_enhance |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame] | 131 | |
Michael Bestas | 2d2eb9a | 2016-06-14 22:09:53 +0300 | [diff] [blame] | 132 | # Vibrator intensity control |
| 133 | chown system system /sys/class/timed_output/vibrator/vtg_level |
| 134 | chmod 0644 /sys/class/timed_output/vibrator/vtg_level |
| 135 | |
Arne Coucheron | 1f3653e | 2014-05-20 23:52:30 +0200 | [diff] [blame] | 136 | # Define TCP delayed ack settings for WiFi & LTE |
| 137 | chown system system /sys/kernel/ipv4/tcp_delack_seg |
| 138 | chown system system /sys/kernel/ipv4/tcp_use_userconfig |
| 139 | setprop net.tcp.delack.default 1 |
| 140 | setprop net.tcp.delack.wifi 20 |
| 141 | setprop net.tcp.delack.lte 8 |
| 142 | setprop net.tcp.usercfg.default 0 |
| 143 | setprop net.tcp.usercfg.wifi 1 |
| 144 | setprop net.tcp.usercfg.lte 1 |
| 145 | |
Steve Kondik | a385501 | 2015-09-06 13:53:29 -0700 | [diff] [blame] | 146 | # Persistent properties (only created if persist exists) |
| 147 | mkdir /persist/properties 0770 system system |
| 148 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 149 | # sysinit (/system/etc/init.d) |
| 150 | service sysinit /system/bin/sysinit |
| 151 | user root |
| 152 | oneshot |
| 153 | disabled |
| 154 | |
| 155 | # bugreport is triggered by holding down volume down, volume up and power |
Felipe Leme | 49b6048 | 2015-11-12 13:47:09 -0800 | [diff] [blame] | 156 | service bugreport /system/bin/dumpstate -d -p -B -z \ |
Jeff Sharkey | e483101 | 2016-02-06 21:34:47 -0700 | [diff] [blame^] | 157 | -o /data/user_de/0/com.android.shell/files/bugreports/bugreport |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 158 | oneshot |
| 159 | disabled |
| 160 | keycodes 114 115 116 |
| 161 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 162 | # adb over network |
Ethan Chen | 909343f | 2015-12-15 10:00:00 -0800 | [diff] [blame] | 163 | on property:adb.network.port=* |
| 164 | setprop service.adb.tcp.port ${adb.network.port} |
| 165 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 166 | on property:service.adb.tcp.port=5555 |
| 167 | stop adbd |
| 168 | start adbd |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 169 | |
Ricardo Cerqueira | 8f412cb | 2012-10-18 16:38:25 +0100 | [diff] [blame] | 170 | on property:service.adb.tcp.port=-1 |
| 171 | stop adbd |
| 172 | start adbd |
| 173 | |
Dan Pasanen | 15e432d | 2015-04-30 17:15:11 -0500 | [diff] [blame] | 174 | # Disable ril services if noril prop is set |
| 175 | on property:ro.radio.noril=1 |
| 176 | stop ril-daemon |
| 177 | stop qmuxd |
| 178 | stop netmgrd |
| 179 | |
Dan Pasanen | 374ca9d | 2015-04-30 17:16:07 -0500 | [diff] [blame] | 180 | on property:persist.radio.noril=1 |
| 181 | setprop ro.radio.noril 1 |
| 182 | |
Steve Kondik | 26731f5 | 2015-09-07 16:42:00 -0700 | [diff] [blame] | 183 | # Configure IO scheduler |
| 184 | on property:sys.io.scheduler=* |
| 185 | write /sys/block/mmcblk0/queue/scheduler ${sys.io.scheduler} |
Zhao Wei Liew | 374d138 | 2016-07-18 06:05:07 +0200 | [diff] [blame] | 186 | write /sys/block/mmcblk1/queue/scheduler ${sys.io.scheduler} |
Chenxi Mao | 869a04f | 2016-06-23 17:08:28 +0800 | [diff] [blame] | 187 | write /sys/block/sda/queue/scheduler ${sys.io.scheduler} |
| 188 | write /sys/block/sde/queue/scheduler ${sys.io.scheduler} |
| 189 | write /sys/block/dm-0/queue/scheduler ${sys.io.scheduler} |
Steve Kondik | 26731f5 | 2015-09-07 16:42:00 -0700 | [diff] [blame] | 190 | |
| 191 | on property:persist.sys.io.scheduler=* |
| 192 | setprop sys.io.scheduler ${persist.sys.io.scheduler} |
| 193 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 194 | # Set slice_idle to 0 for CFQ |
| 195 | on property:sys.io.scheduler=cfq |
| 196 | write /sys/block/mmcblk0/queue/iosched/slice_idle 0 |
Zhao Wei Liew | 374d138 | 2016-07-18 06:05:07 +0200 | [diff] [blame] | 197 | write /sys/block/mmcblk1/queue/iosched/slice_idle 0 |
Chenxi Mao | 869a04f | 2016-06-23 17:08:28 +0800 | [diff] [blame] | 198 | write /sys/block/sda/queue/iosched/slice_idle 0 |
| 199 | write /sys/block/sde/queue/iosched/slice_idle 0 |
| 200 | write /sys/block/dm-0/queue/iosched/slice_idle 0 |
Ethan Chen | 3866f70 | 2015-05-05 12:30:59 -0700 | [diff] [blame] | 201 | |
Steve Kondik | c815f70 | 2015-09-16 15:08:48 -0700 | [diff] [blame] | 202 | # Set slice_idle to 0 for BFQ |
| 203 | on property:sys.io.scheduler=bfq |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame] | 204 | write /sys/block/mmcblk0/queue/iosched/slice_idle 0 |
Zhao Wei Liew | 374d138 | 2016-07-18 06:05:07 +0200 | [diff] [blame] | 205 | write /sys/block/mmcblk1/queue/iosched/slice_idle 0 |
Chenxi Mao | 869a04f | 2016-06-23 17:08:28 +0800 | [diff] [blame] | 206 | write /sys/block/sda/queue/iosched/slice_idle 0 |
| 207 | write /sys/block/sde/queue/iosched/slice_idle 0 |
| 208 | write /sys/block/dm-0/queue/iosched/slice_idle 0 |
Steve Kondik | 4462dfa | 2015-09-18 04:27:35 -0700 | [diff] [blame] | 209 | |