diff options
author | Daniel Rosenberg <drosen@google.com> | 2020-02-28 18:37:22 -0800 |
---|---|---|
committer | Daniel Rosenberg <drosen@google.com> | 2020-03-13 20:12:02 +0000 |
commit | 7c59f1ae9d097f2d5e6ad1c3d5aea52beb456547 (patch) | |
tree | 8881a58c0a45fc5058d550393981bc2ceb9d23dd /trusty/coverage/coverage_test.cpp | |
parent | fcdaee48617278fb690e119087684a64e7df931f (diff) |
Set GC threshold when mounting with checkpointing
This steps up our garbage collection threshold over time when mounting
userdata with checkpointing=disable for f2fs. With this scheme, we step
up the percent of disk we will tolerate being unusable during
checkpointing. At 100%, the filesystem will be able to always mount.
This means we will attempt to mount at most 10 times, for a max time of
about 50 seconds.
Also logs mount time under ro.boottime.init.mount.[target]
If the device does not support checkpoint=disable:[n%], it will mount
with checkpoint=disable, which is equivalent to checkpoint=disable:0%
Test: Boot in checkpointing mode
Bug: 150506496
Change-Id: I047ff98513f4ea832e1216b91e454a57fd2e8bf6
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions