mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
init.rc: change the ownership of gc segment info sysfs nodes
Changed the ownership of gc segment info sysfs nodes for Pixelstats to access these values. Test: check the ownership of /dev/sys/fs/by-name/userdata/<gc_segment_mode|gc_reclaimed_segments> Bug: 201503046 Signed-off-by: Daeho Jeong <daehojeong@google.com> Signed-off-by: Ocean Chen <oceanchen@google.com> Change-Id: I827538be0801cd8abc26b095df56849fd2ff141a
This commit is contained in:
@@ -600,6 +600,8 @@ on property:sys.boot_completed=1
|
||||
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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user