diff options
| author | Daniel Rosenberg <drosen@google.com> | 2020-10-16 19:42:32 -0700 |
|---|---|---|
| committer | Daniel Rosenberg <drosen@google.com> | 2020-10-22 21:26:27 -0700 |
| commit | ef0b18cf23c7b5de0839a2b98cef17c1a915b182 (patch) | |
| tree | 1d71d687bba87fe9376f8e3dca70d5ca0431da2d /trusty/coverage/coverage.cpp | |
| parent | e402a80c3edd8133bfb3d0efcc9d0776dbcda908 (diff) | |
Switch up Cow Format to be resumable
This switches up the format to alternate ops with data, followed by a
footer containing additional meta information. This allows the file to
be resumed at arbitrary points if writing gets interrupted by power
loss.
Also adds a label op, which allows labeling future ops as connected.
If the footer is missing, Append will treat the last label as possibly
corrupt, and ignore it.
Change-Id: I126e15837d710776f9396e7afc9b0cd595e26b59
Bug: 168829493
Test: cow_api_test
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
