From 609d3d6c14ef8413fd54608c1b44906caceea9c8 Mon Sep 17 00:00:00 2001 From: Tashfin Shakeer Rhythm Date: Tue, 13 Jun 2023 01:22:54 +0600 Subject: [PATCH] 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 Signed-off-by: pix106 --- rootdir/etc/init.qcom.rc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7fb89c0e..78352605 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -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}