Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb0838b5 authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Thierry Strudel
Browse files

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: default avatarJaegeuk Kim <jaegeuk@google.com>
parent 8ba0b826
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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