summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-09-21 16:34:25 -0700
committerDavid Anderson <dvander@google.com>2020-09-28 11:24:37 -0700
commit75b982ad30d8e768ed75fc315d7154e782e00b0c (patch)
treef1062f61913985d89a6f6a1af559401197874754 /trusty/coverage/coverage.cpp
parent6560d23765e26a860c3c7fd1a56df092d86ff495 (diff)
libsnapshot: Partially implement OpenSnapshotWriter.
Implement OpenSnapshotWriter for non-compressed Virtual A/B. This is done by adding an OnlineKernelSnapshotWriter class, which forwards all writes to a dm-snapshot block device. This also introduces a new ISnapshotWriter class which extends ICowWriter, and adds features specific to libsnapshot (versus ICowWriter which is intended only for the new COW format). The OpenSnapshotReader call has been moved here since the writer retains all the information needed to create the reader. To test the new call, vts_libsnapshot_test has been modified to use OpenSnapshotWriter. As part of this change, all consumers of libsnapshot must now link to libsnapshot_cow. Bug: 168554689 Test: vts_libsnapshot_test Change-Id: Ieedfadc557833c1e0540922aabc6e95c80266a64
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions