| commit | 96731d84db05b7b67613e70eff789c113bd5ad2a | [log] [tgz] |
|---|---|---|
| author | Daniel Rosenberg <drosen@google.com> | Mon Apr 01 17:55:58 2019 -0700 |
| committer | Daniel Rosenberg <drosen@google.com> | Mon Apr 01 18:18:51 2019 -0700 |
| tree | 9b5bcba0b8a55c5b85a0c05275065eb47cafd7a0 | |
| parent | 654a37cd657593c9a01ff586f55b0b308f9c3474 [diff] |
Make checkpoint_gc.sh robust against interference
If some other process decides to run a brief period of GC and then turn
it off, checkpoint_gc.sh will keep running and hold up the OTA. To
combat that, we set gc_urgent again each cycle.
Test: set gc_urgent to 0 after the script sets it to 1. Verify script
still runs
Change-Id: If361a7e6aace2b20d976d94210fc5a72c3630c72