Remove discard command tuning
This is done by rootdir/init.rc. Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I939c97aa2cd2ee271f05053eea0af006f6c9b8a1
This commit is contained in:
parent
dd1cd8388f
commit
6d4913e3c7
1 changed files with 0 additions and 4 deletions
|
@ -674,10 +674,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