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:
parent
b8633e8cdd
commit
2095b04e76
1 changed files with 2 additions and 0 deletions
|
@ -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_written_block
|
||||||
chown system system /dev/sys/fs/by-name/userdata/compr_saved_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/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
|
# Block layer tuning: discard chunk size up to 128MB
|
||||||
# Otherwise, contiguous discards can be merged
|
# Otherwise, contiguous discards can be merged
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue