Merge "storage: turn off writebooster flags upon init" into main
This commit is contained in:
commit
0cf5a2a95d
1 changed files with 3 additions and 0 deletions
|
@ -42,10 +42,13 @@ on init
|
|||
|
||||
# UFS
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 0
|
||||
write /dev/sys/block/bootdevice/wb_on 0
|
||||
write /dev/sys/block/bootdevice/enable_wb_buf_flush 0
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Health Storage HAL
|
||||
chown system system /dev/sys/block/bootdevice/manual_gc
|
||||
write /dev/sys/block/bootdevice/manual_gc 0
|
||||
|
||||
# Pixelstats
|
||||
chown system system /dev/sys/block/bootdevice/slowio_read_cnt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue