summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2021-01-20 17:34:29 -0800
committerDavid Anderson <dvander@google.com>2021-01-20 18:17:07 -0800
commite93fd46ec0b4d8ca437e717570e9e32739381cbb (patch)
tree06b1ebfcf314c29fc55168e64e37300853443cc1 /trusty/coverage/coverage.cpp
parent17e554a97ac096eb3426b2128b9ccc057cd3669b (diff)
libsnapshot: Removed the unused "linear" optimization.
VAB has an unused optimization that allows bypassing snapshots for the area of a partition that grows during an OTA. The code for this is entirely unused since the optimization was never enabled. The benefits are marginal, and making it safe is quite complicated. The "new" region cannot overlap with any region being relinquished by a shrink operation, without snapshotting the region that would be overwritten. This would be burdensome to implement and would minimize space savings. Let's remove the code related to this optimization until we are confident we can implement it safely in VABC. Bug: 177935716 Test: vts_libsnapshot_test Change-Id: I7d6a68dce57c8a4389ea6bff9f31971276a20db4
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions