init.rc: change the ownership of compression sysfs nodes am: e966b2a635

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13921154

Change-Id: I7c533d3a05bc1275a5d99fcd8a2ee2b9185d2eb9
This commit is contained in:
Daeho Jeong 2021-03-24 04:19:42 +00:00 committed by Automerger Merge Worker
commit f8abad83e4

View file

@ -577,6 +577,11 @@ on property:sys.boot_completed=1
write /dev/sys/fs/by-name/userdata/data_io_flag 8
write /dev/sys/fs/by-name/userdata/node_io_flag 8
# Permission for Pixelstats
chown system system /dev/sys/fs/by-name/userdata/compr_written_block
chown system system /dev/sys/fs/by-name/userdata/compr_saved_block
chown system system /dev/sys/fs/by-name/userdata/compr_new_inode
# Block layer tuning: discard chunk size up to 128MB
# Otherwise, contiguous discards can be merged
write /sys/block/sda/queue/discard_max_bytes 134217728