summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-09-23 18:31:01 -0700
committerYifan Hong <elsk@google.com>2019-09-25 12:13:17 -0700
commit30bdee991027d1380459fd91e0a98ae21bc13c19 (patch)
tree45bdbfd65f92a72d9cd5631b2664c276bca6f190 /libpackagelistparser/packagelistparser_test.cpp
parent3396e9327af029a75f8635348ca0e980bc4cffb4 (diff)
libsnapshot: CreateUpdateSnapshots reuse COW space
At the second update for Virtual A/B device, PartitionCowCreator thinks the COW partitions in the existing super metadata as occupied. In fact, these partitions aren't used after the merge. Now, unmap these partitions from the device mapper. If something bad happens and the previous update has not been merged yet, the unmap will fail. Then, delete these old COW partitions from the device. Test: Virtual A/B update twice Bug: 135752105 Change-Id: Iab867ded19755089e6e0800e553a10fbcddbb931
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions