Remove discard command tuning
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I56a35351a27bfff4ad8177061a86885907c0303b
This commit is contained in:
parent
932961f75f
commit
aeeeb8bf63
1 changed files with 0 additions and 4 deletions
|
@ -702,10 +702,6 @@ on property:sys.boot_completed=1
|
|||
chown system system /dev/sys/fs/by-name/userdata/gc_segment_mode
|
||||
chown system system /dev/sys/fs/by-name/userdata/gc_reclaimed_segments
|
||||
|
||||
# Block layer tuning: discard chunk size up to 128MB
|
||||
# Otherwise, contiguous discards can be merged
|
||||
write /sys/block/sda/queue/discard_max_bytes 134217728
|
||||
|
||||
# Enable ZRAM on boot_complete
|
||||
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
||||
write /proc/sys/vm/swappiness 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue