diff options
| author | David Anderson <dvander@google.com> | 2019-08-27 14:59:36 -0700 |
|---|---|---|
| committer | David Anderson <dvander@google.com> | 2019-08-27 15:09:56 -0700 |
| commit | 1145c01e8e60ab0b15a0fc5604b6300d09d16b61 (patch) | |
| tree | d22232fa9fc137e62fe2fd6184c43dc6f5c12ec5 /libutils/ProcessCallStack_fuzz.cpp | |
| parent | ad970fc055f44e6835b3893b3c64f80e0f9f8911 (diff) | |
libsnapshot: Improve how devices are collapsed after merging.
Currently, we replace snapshot-merge with a linear device wrapping the
base device. This is not efficient. This patch reads LpMetadata for the
underlying partition, and duplicates its table into the snapshot-merge
device. This removes a layer of stacking and also allows removing the
base device.
Note that snapshot_test is growing a bit unwiedly, because it's starting
to implement pieces of libsnapshot that will be filled in later for
update_engine. (MapUpdatePartitions is a good example of this.) When
those pieces land in libsnapshot, snapshot_test will be cleaned up to
remove much of this manual fiddling.
Bug: 139090440
Test: libsnapshot_test gtest
Change-Id: I3872dc51d9e5980803303806f42a5c7e74b0b78a
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions
