rootdir: init.rc: use gc_urgent_sleep_time for f2fs
This accelerates f2fs GC when IdleMaint. Bug: 128594671 Bug: 137190790 Change-Id: I1cea7c99ffd5963711c66460f1c8368b43aeaee2 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
parent
8ba0b82605
commit
bb0838b511
1 changed files with 1 additions and 0 deletions
|
|
@ -679,6 +679,7 @@ on boot
|
|||
# to make it too large, since it may bring userdata loss, if they
|
||||
# are not aware of using fsync()/sync() to prepare sudden power-cut.
|
||||
write /sys/fs/f2fs/${dev.mnt.blk.data}/cp_interval 200
|
||||
write /sys/fs/f2fs/${dev.mnt.blk.data}/gc_urgent_sleep_time 50
|
||||
|
||||
# Permissions for System Server and daemons.
|
||||
chown radio system /sys/android_power/state
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue