sdm660-common: rootdir: Trim and fix some blkio node paths

"bg" seems to be "background" after examining the path using a root
explorer. "blkio.weight" is non-existent. So, remove it.

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Tashfin Shakeer Rhythm 2023-06-13 01:22:54 +06:00 committed by pix106
parent 03c297e53d
commit 609d3d6c14

View file

@ -397,10 +397,8 @@ on property:ro.vendor.iocgrp.config=1
chown system system /dev/blkio/tasks
chmod 0664 /dev/blkio/tasks
mkdir /dev/blkio/bg 0755 system system
chown system system /dev/blkio/bg/tasks
chmod 0664 /dev/blkio/bg/tasks
write /dev/blkio/blkio.weight 1000
write /dev/blkio/background/blkio.weight 100
chown system system /dev/blkio/background/tasks
chmod 0664 /dev/blkio/background/tasks
on property:persist.sys.ssr.enable_debug=*
write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug}