summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2020-02-28 18:37:22 -0800
committerDaniel Rosenberg <drosen@google.com>2020-03-13 20:12:02 +0000
commit7c59f1ae9d097f2d5e6ad1c3d5aea52beb456547 (patch)
tree8881a58c0a45fc5058d550393981bc2ceb9d23dd /trusty/coverage/coverage_test.cpp
parentfcdaee48617278fb690e119087684a64e7df931f (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