diff --git a/init.hardware.rc b/init.hardware.rc index 3dad1cce..4579a43a 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -464,10 +464,6 @@ on property:init.svc.vendor.charger=running on property:sys.boot_completed=1 setprop vendor.setup.power 1 - # Block layer tuning: discard chunk size up to 128MB - # Otherwise, contiguous discards can be merged - write /sys/block/sda/queue/discard_max_bytes 134217728 - # Back to default VM settings write /proc/sys/vm/dirty_expire_centisecs 3000 write /proc/sys/vm/dirty_background_ratio 10 diff --git a/init.recovery.device.rc b/init.recovery.device.rc index 72fc15a5..092221a5 100644 --- a/init.recovery.device.rc +++ b/init.recovery.device.rc @@ -8,7 +8,3 @@ on init write /sys/module/msm_poweroff/parameters/warm_reset 1 # Enable thermal mitigation write /sys/devices/virtual/thermal/tz-by-name/backup-charge/mode enabled - - # Block layer tuning: discard chunk size up to 128MB - # Otherwise, contiguous discards can be merged - write /sys/block/sda/queue/discard_max_bytes 134217728