commit | 93af9be90a84577642a31ddd48277776c11692fd | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Wed Aug 30 15:42:27 2023 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Wed Aug 30 16:21:48 2023 -0700 |
tree | f2bc50bfdb990ca52c948945e2b27aaf63b46fdb | |
parent | 01e7e0663a487cf6fe154bbc92f0807d936c0332 [diff] |
checkpoint_gc: Exit gc if there is enough free segments This script is primarily ensuring that there is sufficient storage during the next boot while userdata is mounted with checkpoint=disable If there are sufficient free segments, it won't matter if we've lost a large number of blocks until boot complete, so we can exit early Bug: 291181976 Test: Run checkpoint_gc with high fragmentation/low disk usage Change-Id: Ia9725aafbd19ff576b9b6279a8e342a125d32fcc