Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
f2fs: hardcode cp_interval to 200s after merging rapid GC
In ("f2fs: rename /sys/fs/f2fs") mentions: fsmgr and vold tries to read nodes from here and run GC by itself. Since it conflicts with rapid GC(not to mention less effective), rename /sys/fs/f2fs to /sys/fs/f2fs_dev to avoid Android reading it entirely. We could rename gc_urgent and dirty_segments but this approach seems better as it'll still be detected as a f2fs volume and try to run GC. But also because of sysfs name change, we will lose AOSP F2FS tuning[1]. Since our device is using ext4 by default, adding it to the device tree will add another useless warning, so it is hardcoded in the kernel [1]: https://android.googlesource.com/platform/system/core/+/refs/tags/android-13.0.0_r6/rootdir/init.rc#1094 * Aquarius223: Add instructions for xiaomi sdm845 device Change-Id: I747e9e20371719055f5fd6abaf0e47645c99ac64 Signed-off-by: TogoFire <togofire@mailfence.com>
- Loading branch information