summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2020-01-07 17:43:20 +0000
committerAlessio Balsini <balsini@google.com>2020-01-15 16:32:37 +0000
commit30c681dd370e3f4407339388a9470e78a982c908 (patch)
treec1414562269ed25d646d3d7456641f331fb4d5ac /trusty/coverage/coverage_test.cpp
parente2dad0a29664f3444b3c5cb07aac9e4669c9ee33 (diff)
Snapshot merge progress percentage
Compute and print the progress percentage of the dm-snapshot devices merging after an update is marked as successful. All the snapshot devices are queried for their update states and all their allocated, metadata and total sectors are summed as if the system consists of a single big snapshot device, as well as the initial allocated sectors to keep trace of the absolute progress. Then the merge percentage is computed on the numbers for this fake snapshot device. Bug: 139088917 Test: manual OTA Change-Id: Ia9a51742105c90b7fd043f3cbf4249877def7f08 Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions