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: 182708936 Signed-off-by: Daeho Jeong <daehojeong@google.com> Change-Id: I444350d6f4898920b6036558eebdb11cf18ddee5
This commit is contained in:
parent
5d1433762e
commit
8fc873c415
1 changed files with 2 additions and 0 deletions
|
@ -687,6 +687,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue